Skip to content

Commit 37302c6

Browse files
bhandarivijay-pngHackerpilot
authored andcommitted
chore: Migrate gsutil usage to gcloud storage (GoogleCloudPlatform#519)
1 parent 7880733 commit 37302c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tools/cloud_functions/gcs_event_based_ingest

tools/cloud_functions/gcs_event_based_ingest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ TOPIC_ID=test-gcs-ocn
538538
PUBSUB_TOPIC=projects/${PROJECT_ID/topics/${TOPIC_ID}
539539
540540
# Create Pub/Sub Object Change Notifications
541-
gsutil notification create -f json -t ${PUBSUB_TOPIC} -e OBJECT_FINALIZE gs://${INGESTION_BUCKET}
541+
gcloud storage buckets notifications create --payload-format=json --topic=${PUBSUB_TOPIC} --event-types=OBJECT_FINALIZE gs://${INGESTION_BUCKET}
542542
543543
# Deploy Cloud Function
544544
gcloud functions deploy test-gcs-bq-ingest \

0 commit comments

Comments
 (0)