I want to add a pubsub notification for GCp storage buckets. So whenever file drop in GCP storage bucket then pubsub notification will send
Can use Gsutil command to create pubsub notification
Select project
gcloud config set project <Project-Name>
Create Notification
gsutil notification create -t <Pubsub topic > -f json gs://<Bucket-name>
More information:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.