You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #4021, @BrandonY asked for convenience wrapprer(s) for the following:
Create the user-supplied topic
Set the appropriate IAM policy needed to support bucket notifications
Create a subscription to the topic
Adding this support would make storage depend on pubsub (at least optionally), and would complicate our testing story (system tests already add it). Ruby just documents what is required.
Activity
BrandonY commentedon Oct 2, 2017
Without this convenience function, everyone who wants to use notifications will have to write a function that invokes around 4 calls:
With a convenience method, the whole thing can be shortened to
bucket.sendNotifications(topic).danoscarmike commentedon Oct 4, 2017
Ack. @BrandonY I'll reach out to you offline.
lukesneeringer commentedon Oct 26, 2017
This was decided. We are not doing it.