Skip to content

Support for GCS Cloud Pub/Sub Notifications #1420

@BrandonY

Description

@BrandonY

GCS has a new feature (currently in private alpha) wherein buckets can be configured to send object change notifications to Cloud Pub/Sub topics, rather than as push notifications to HTTPS endpoints.

In gcloud-java, I imagine such a feature might look something like this:

Storage storage = StorageOptions.getDefaultInstance().getService();
PubSub pubsub = PubSubOptions.getDefaultInstance().getService()

Bucket bucket = storage.get(BUCKET_NAME);
Topic topic = pubsub.getTopic(TOPIC_NAME);
NotificationConfig notificationConfig = bucket.sendNotificationsTo(topic);

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.triaged for GAtype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions