Simplest and most permissive steps for creating a GCS source are: * Create a service account for TriggerMesh, give it the Pub/Sub Editor and Storage Admin roles on the project * Create a key for this service account and save it in JSON format in a file called serviceaccountkey.json * Create a Google Cloud Storage bucket * Copy the address of Cloud Storage’s service account for this project, and use it in IAM to give it the Pub/Sub Publisher role on the project
Simplest and most permissive steps for creating a GCS source are: