We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8c49e6 commit f0de0f6Copy full SHA for f0de0f6
1 file changed
eventarc/audit-storage/README.md
@@ -35,8 +35,8 @@ gcloud run deploy $MY_RUN_SERVICE \
35
Create a _single region_ Cloud Storage bucket:
36
37
```sh
38
-gsutil mb -p $(gcloud config get-value project) \
39
- -l us-central1 \
+gcloud storage buckets create --project=$(gcloud config get-value project) \
+ --location=us-central1 \
40
gs://"$MY_GCS_BUCKET"
41
```
42
@@ -56,7 +56,7 @@ gcloud beta eventarc triggers create my-gcs-trigger \
56
Test your Cloud Run service by creating a GCS event:
57
58
59
-gsutil defstorageclass set NEARLINE gs://"$MY_GCS_BUCKET"
+gcloud storage buckets update --default-storage-class=NEARLINE gs://"$MY_GCS_BUCKET"
60
61
62
Observe the Cloud Run service printing upon receiving an event in Cloud Logging:
0 commit comments