Get the email of service account associated with the bucket
Use this to get the right email so you can give it pubsub.publisher
permission.
gcs_get_service_email(project)
project |
The project name containing the bucket |
This service email can be different from the email in the service JSON. Give this
pubsub.publisher
permission in the Google cloud console.
Other pubsub functions:
gcs_create_pubsub()
,
gcs_delete_pubsub()
,
gcs_list_pubsub()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.