- INFORMATION
-
gcloud pubsub subscriptions
is supported in universe domainuniverse
; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution. - NAME
-
- gcloud pubsub subscriptions - manage Cloud Pub/Sub subscriptions
- SYNOPSIS
-
-
gcloud pubsub subscriptions
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Manage Cloud Pub/Sub subscriptions.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - COMMANDS
-
is one of the following:COMMAND
ack
- Acknowledges one or more messages on the specified subscription.
add-iam-policy-binding
- Add IAM policy binding to a subscription.
create
- Creates one or more Cloud Pub/Sub subscriptions.
delete
- Deletes one or more Cloud Pub/Sub subscriptions.
describe
- Describes a Cloud Pub/Sub subscription.
get-iam-policy
- Get the IAM policy for a Cloud Pub/Sub Subscription.
list
- Lists Cloud Pub/Sub subscriptions.
modify-message-ack-deadline
- Modifies the ACK deadline for a specific Cloud Pub/Sub message.
modify-push-config
- Modifies the push configuration of a Cloud Pub/Sub subscription.
pull
- Pulls one or more Cloud Pub/Sub messages from a subscription.
remove-iam-policy-binding
- Remove IAM policy binding of a subscription.
seek
- Resets a subscription's backlog to a point in time or to a given snapshot.
set-iam-policy
- Set IAM policy for a subscription.
update
- Updates an existing Cloud Pub/Sub subscription.
- NOTES
-
These variants are also available:
gcloud alpha pubsub subscriptions
gcloud beta pubsub subscriptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[],[]]