Learn R Programming

googleCloudStorageR (version 0.7.0)

gcs_get_service_email: Get the email of service account associated with the bucket

Description

Use this to get the right email so you can give it pubsub.publisher permission.

Usage

gcs_get_service_email(project)

Arguments

project

The project name containing the bucket

Details

This service email can be different from the email in the service JSON. Give this pubsub.publisher permission in the Google cloud console.

See Also

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