gcloud beta pubsub topics

NAME
gcloud beta pubsub topics - manage Cloud Pub/Sub topics
SYNOPSIS
gcloud beta pubsub topicsCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Manage Cloud Pub/Sub topics.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(BETA) Add IAM policy binding to a topic.
create
(BETA) Creates one or more Cloud Pub/Sub topics.
delete
(BETA) Deletes one or more Cloud Pub/Sub topics.
describe
(BETA) Describes a Cloud Pub/Sub topic.
detach-subscription
(BETA) Detaches one or more Cloud Pub/Sub subscriptions.
get-iam-policy
(BETA) Get the IAM policy for a Cloud Pub/Sub Topic.
list
(BETA) Lists Cloud Pub/Sub topics within a project.
list-subscriptions
(BETA) Lists Cloud Pub/Sub subscriptions from a given topic.
publish
(BETA) Publishes a message to the specified topic.
remove-iam-policy-binding
(BETA) Remove IAM policy binding of a topic.
set-iam-policy
(BETA) Set IAM policy for a topic.
update
(BETA) Updates an existing Cloud Pub/Sub topic.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudpubsubtopics
gcloudalphapubsubtopics

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.