gcloud alpha pubsub topics

NAME
gcloud alpha pubsub topics - manage Cloud Pub/Sub topics
SYNOPSIS
gcloud alpha pubsub topicsGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Manage Cloud Pub/Sub topics.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Pub/Sub topic configurations.
COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(ALPHA) Add IAM policy binding to a topic.
create
(ALPHA) Creates one or more Cloud Pub/Sub topics.
delete
(ALPHA) Deletes one or more Cloud Pub/Sub topics.
describe
(ALPHA) Describes a Cloud Pub/Sub topic.
detach-subscription
(ALPHA) Detaches one or more Cloud Pub/Sub subscriptions.
get-iam-policy
(ALPHA) Get the IAM policy for a topic.
list
(ALPHA) Lists Cloud Pub/Sub topics within a project.
list-snapshots
(ALPHA) Lists Cloud Pub/Sub snapshots from a given topic.
list-subscriptions
(ALPHA) Lists Cloud Pub/Sub subscriptions from a given topic.
publish
(ALPHA) Publishes a message to the specified topic.
remove-iam-policy-binding
(ALPHA) Remove IAM policy binding of a topic.
set-iam-policy
(ALPHA) Set the IAM policy for a Cloud Pub/Sub Topic.
update
(ALPHA) Updates an existing Cloud Pub/Sub topic.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudpubsubtopics
gcloudbetapubsubtopics

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.