Unify and manage your data

Create a Pub/Sub topic for GCP

Learn how to create a topic.

Create a topic that can receive messages and listen for activity in the specified GCS bucket. For more information, see topic Pub/Sub.

You must have the editor role to do this. For more information, see topic Roles.

To create a topic:
  • In the Google Cloud Command Line Interface (gcoud CLI), execute the following command:
    $ gsutil notification create -t <topic> -f json gs://<bucket-name>