Create a Pub/Sub topic for GCP
Learn how to create a topic.
You must have the editor role to do this. For more information, see topic Roles.
- In the Google Cloud Command Line Interface (gcoud CLI), execute the following command:
$ gsutil notification create -t <topic> -f json gs://<bucket-name>