You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add version specifier to functions-framework dependency
- Remove --allow-unauthenticated from gcloud commands
- Fix typo in Cloud Run URL
- Update Cloud Run link to Cloud Functions
Copy file name to clipboardExpand all lines: examples/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Deployment targets
4
4
### Cloud Run
5
-
*[`cloud_run_http`](./cloud_run_http/) - Deploying an HTTP function to [Cloud Run](http.cloud.google.com/run) with the Functions Framework
5
+
*[`cloud_run_http`](./cloud_run_http/) - Deploying an HTTP function to [Cloud Run](http://cloud.google.com/run) with the Functions Framework
6
6
*[`cloud_run_event`](./cloud_run_event/) - Deploying a CloudEvent function to [Cloud Run](http://cloud.google.com/run) with the Functions Framework
7
7
*[`cloud_run_cloud_events`](cloud_run_cloud_events/) - Deploying a [CloudEvent](https://github.com/cloudevents/sdk-python) function to [Cloud Run](http://cloud.google.com/run) with the Functions Framework
8
8
*[`cloud_run_async`](./cloud_run_async/) - Deploying asynchronous HTTP and CloudEvent functions to [Cloud Run](http://cloud.google.com/run) with the Functions Framework
Copy file name to clipboardExpand all lines: examples/cloud_run_async/README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Deploying async functions to Cloud Run
2
2
3
-
This sample shows how to deploy asynchronous functions to [Cloud Run](http://cloud.google.com/run) with the Functions Framework. It includes examples for both HTTP and CloudEvent functions, which can be found in the `main.py` file.
3
+
This sample shows how to deploy asynchronous functions to [Cloud Run functions](https://cloud.google.com/functions) with the Functions Framework. It includes examples for both HTTP and CloudEvent functions, which can be found in the `main.py` file.
4
4
5
5
## Dependencies
6
6
Install the dependencies for this example:
@@ -40,8 +40,7 @@ gcloud run deploy async-http-function \
40
40
--source . \
41
41
--function hello_async_http \
42
42
--base-image python312 \
43
-
--region <YOUR_REGION> \
44
-
--allow-unauthenticated
43
+
--region <YOUR_REGION>
45
44
```
46
45
47
46
### CloudEvent Function
@@ -51,8 +50,8 @@ gcloud run deploy async-cloudevent-function \
0 commit comments