Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit fbcb16f

Browse files
authored
Merge branch 'main' into add-warning
2 parents 8e88bf9 + 2231120 commit fbcb16f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.kokoro/trampoline_v2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# To run this script, first download few files from gcs to /dev/shm.
2727
# (/dev/shm is passed into the container as KOKORO_GFILE_DIR).
2828
#
29-
# gsutil cp gs://cloud-devrel-kokoro-resources/python-docs-samples/secrets_viewer_service_account.json /dev/shm
30-
# gsutil cp gs://cloud-devrel-kokoro-resources/python-docs-samples/automl_secrets.txt /dev/shm
29+
# gcloud storage cp gs://cloud-devrel-kokoro-resources/python-docs-samples/secrets_viewer_service_account.json /dev/shm
30+
# gcloud storage cp gs://cloud-devrel-kokoro-resources/python-docs-samples/automl_secrets.txt /dev/shm
3131
#
3232
# Then run the script.
3333
# .kokoro/trampoline_v2.sh

samples/snippets/notification_polling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
https://console.cloud.google.com/flows/enableapi?apiid=pubsub
3333
3434
3. Create a Google Cloud Storage bucket:
35-
$ gsutil mb gs://testbucket
35+
$ gcloud storage buckets create gs://testbucket
3636
3737
4. Create a Cloud Pub/Sub topic and publish bucket notifications there:
38-
$ gsutil notification create -f json -t testtopic gs://testbucket
38+
$ gcloud storage buckets notifications create gs://testbucket --topic=testtopic --payload-format=json
3939
4040
5. Create a subscription for your new topic:
4141
$ gcloud pubsub subscriptions create testsubscription --topic=testtopic

0 commit comments

Comments
 (0)