Delete notification configurations for a bucket.

gcs_delete_pubsub(config_name, bucket = gcs_get_global_bucket())

Arguments

config_name

The ID of the pubsub configuration

bucket

The bucket for notifications

Value

TRUE if successful

Details

Cloud Pub/Sub notifications allow you to track changes to your Cloud Storage objects. As a minimum you wil need: the Cloud Pub/Sub API activated for the project; sufficient permissions on the bucket you wish to monitor; sufficient permissions on the project to receive notifications; an existing pub/sub topic; have given your service account at least pubsub.publisher permission.

See also

https://cloud.google.com/storage/docs/reporting-changes

Other pubsub functions: gcs_create_pubsub(), gcs_get_service_email(), gcs_list_pubsub()