R/pubsub.R
gcs_get_service_email.RdUse 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()