1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Thu Jan 19 00:56:33 UTC 2023

This commit is contained in:
Automated 2023-01-19 00:56:33 +00:00
parent 348d9760ee
commit 1248f773ec
1462 changed files with 51835 additions and 5402 deletions

View file

@ -6,7 +6,11 @@ SYNOPSIS
gcloud alpha pubsub lite-subscriptions create SUBSCRIPTION --topic=TOPIC
[--delivery-requirement=DELIVERY_REQUIREMENT;
default="deliver-immediately"] [--location=LOCATION]
[--starting-offset=STARTING_OFFSET; default="end"]
[--event-time=EVENT_TIME | --publish-time=PUBLISH_TIME
| --starting-offset=STARTING_OFFSET; default="end"]
[--export-pubsub-topic=EXPORT_PUBSUB_TOPIC
: --export-dead-letter-topic=EXPORT_DEAD_LETTER_TOPIC
--export-desired-state=EXPORT_DESIRED_STATE; default="active"]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -25,6 +29,13 @@ EXAMPLES
--location=us-central1-a --topic=mytopic \
--starting-offset=beginning
To create a Pub/Sub Lite subscription that exports messages from a Pub/Sub
Lite topic to a Pub/Sub topic, run:
$ gcloud alpha pubsub lite-subscriptions create mysubscription \
--location=us-central1-a --topic=mytopic \
--export-pubsub-topic=pubsubtopic
POSITIONAL ARGUMENTS
SUBSCRIPTION
Subscription ID.
@ -58,11 +69,43 @@ OPTIONAL FLAGS
▸ provide the argument --location on the command line;
▸ provide the argument --zone on the command line.
--starting-offset=STARTING_OFFSET; default="end"
The offset at which a newly created or seeked subscription will start
receiving messages. A subscription can be initialized at the offset of
the oldest retained message (beginning), or at the current HEAD offset
(end). STARTING_OFFSET must be one of: beginning, end.
At most one of these can be specified:
--event-time=EVENT_TIME
The event time to which you seek a subscription. The subscription
seeks to the first message with event time greater than or equal to
the specified event time. Messages missing an event time use publish
time as a fallback. As event times are user supplied, subsequent
messages may have event times less than the specified event time and
must be filtered by the client, if necessary. Run $ gcloud topic
datetimes for information on time formats.
--publish-time=PUBLISH_TIME
The publish time to which you seek a subscription. Messages with
publish time greater than or equal to the specified time are
delivered after the seek operation. Run $ gcloud topic datetimes for
information on time formats.
--starting-offset=STARTING_OFFSET; default="end"
The offset at which a newly created or seeked subscription starts
receiving messages. A subscription can be initialized at the offset
of the oldest retained message (beginning), or at the current HEAD
offset (end). STARTING_OFFSET must be one of: beginning, end.
--export-pubsub-topic=EXPORT_PUBSUB_TOPIC
The name of the destination Pub/Sub topic to which messages are
exported. Must be the topic's fully specified path if it is not in the
same project as the subscription to be created.
--export-dead-letter-topic=EXPORT_DEAD_LETTER_TOPIC
The name of the Pub/Sub Lite topic to write messages that cannot be
exported. Must be in the same project and location as the subscription
to be created. Note that this is a Lite topic.
--export-desired-state=EXPORT_DESIRED_STATE; default="active"
The desired state of the export. Process messages by setting the value
to ACTIVE or pause message processing by setting the value to PAUSED.
EXPORT_DESIRED_STATE must be one of: active, paused.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,

View file

@ -65,21 +65,22 @@ REQUIRED FLAGS
Exactly one of these must be specified:
--event-time=EVENT_TIME
The event time to seek a subscription to. Seeks to the first message
with event time greater than or equal to the specified event time. As
event times are user supplied, subsequent messages may have event
times less than the specified event time and should be filtered by
the client, if necessary. Messages missing an event time use publish
time as a fallback. Run $ gcloud topic datetimes for information on
time formats.
The event time to which you seek a subscription. The subscription
seeks to the first message with event time greater than or equal to
the specified event time. Messages missing an event time use publish
time as a fallback. As event times are user supplied, subsequent
messages may have event times less than the specified event time and
must be filtered by the client, if necessary. Run $ gcloud topic
datetimes for information on time formats.
--publish-time=PUBLISH_TIME
The publish time to seek a subscription to. Messages with publish
time greater than or equal to this time will be delivered post-seek.
Run $ gcloud topic datetimes for information on time formats.
The publish time to which you seek a subscription. Messages with
publish time greater than or equal to the specified time are
delivered after the seek operation. Run $ gcloud topic datetimes for
information on time formats.
--starting-offset=STARTING_OFFSET
The offset at which a newly created or seeked subscription will start
The offset at which a newly created or seeked subscription starts
receiving messages. A subscription can be initialized at the offset
of the oldest retained message (beginning), or at the current HEAD
offset (end). STARTING_OFFSET must be one of: beginning, end.

View file

@ -5,13 +5,16 @@ NAME
SYNOPSIS
gcloud alpha pubsub lite-subscriptions update
(SUBSCRIPTION : --location=LOCATION)
--delivery-requirement=DELIVERY_REQUIREMENT [GCLOUD_WIDE_FLAG ...]
(--delivery-requirement=DELIVERY_REQUIREMENT
--export-dead-letter-topic=EXPORT_DEAD_LETTER_TOPIC
--export-desired-state=EXPORT_DESIRED_STATE
--export-pubsub-topic=EXPORT_PUBSUB_TOPIC) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Update a Pub/Sub Lite subscription.
EXAMPLES
To update a Cloud Pub/Sub lite-subscription, run:
To update a Pub/Sub Lite subscription, run:
$ gcloud alpha pubsub lite-subscriptions update mysubscription \
--location=us-central1-a \
@ -47,12 +50,29 @@ POSITIONAL ARGUMENTS
▸ provide the argument --zone on the command line.
REQUIRED FLAGS
--delivery-requirement=DELIVERY_REQUIREMENT
When this subscription should send messages to subscribers relative to
messages persistence in storage. See
https://cloud.google.com/pubsub/lite/docs/subscriptions#creating_lite_subscriptions
for more info. DELIVERY_REQUIREMENT must be one of:
deliver-after-stored, deliver-immediately.
At least one of these must be specified:
--delivery-requirement=DELIVERY_REQUIREMENT
When this subscription should send messages to subscribers relative
to messages persistence in storage. See
https://cloud.google.com/pubsub/lite/docs/subscriptions#creating_lite_subscriptions
for more info. DELIVERY_REQUIREMENT must be one of:
deliver-after-stored, deliver-immediately.
--export-dead-letter-topic=EXPORT_DEAD_LETTER_TOPIC
The name of the Pub/Sub Lite topic to write messages that cannot be
exported. Must be in the same project and location as the
subscription to be created. Note that this is a Lite topic.
--export-desired-state=EXPORT_DESIRED_STATE
The desired state of the export. Process messages by setting the
value to ACTIVE or pause message processing by setting the value to
PAUSED. EXPORT_DESIRED_STATE must be one of: active, paused.
--export-pubsub-topic=EXPORT_PUBSUB_TOPIC
The name of the destination Pub/Sub topic to which messages are
exported. Must be the topic's fully specified path if it is not in
the same project as the subscription to be created.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,