mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 30 11:00:00 UTC 2025
This commit is contained in:
parent
4d8dd33b3e
commit
b03a332ad8
196 changed files with 7097 additions and 313 deletions
30
gcloud/pubsub/message-transforms/help
Normal file
30
gcloud/pubsub/message-transforms/help
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
NAME
|
||||
gcloud pubsub message-transforms - manage Cloud Pub/Sub message transforms
|
||||
|
||||
SYNOPSIS
|
||||
gcloud pubsub message-transforms COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Cloud Pub/Sub message transforms.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
test
|
||||
Tests message transforms against a given message.
|
||||
|
||||
validate
|
||||
Validates a message transform.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha pubsub message-transforms
|
||||
|
||||
$ gcloud beta pubsub message-transforms
|
||||
|
||||
89
gcloud/pubsub/message-transforms/test
Normal file
89
gcloud/pubsub/message-transforms/test
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
NAME
|
||||
gcloud pubsub message-transforms test - tests message transforms against a
|
||||
given message
|
||||
|
||||
SYNOPSIS
|
||||
gcloud pubsub message-transforms test
|
||||
(--attribute=[ATTRIBUTE,...] --message=MESSAGE)
|
||||
(--message-transforms-file=MESSAGE_TRANSFORMS_FILE
|
||||
| --subscription=SUBSCRIPTION
|
||||
| [--topic=TOPIC : --topic-project=TOPIC_PROJECT])
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Tests message transforms against a given message.
|
||||
|
||||
REQUIRED FLAGS
|
||||
Message to test the message transforms against.
|
||||
|
||||
At least one of these must be specified:
|
||||
|
||||
--attribute=[ATTRIBUTE,...]
|
||||
Comma-separated list of attributes to attach to the message. Each
|
||||
ATTRIBUTE has the form name="value". You can specify up to 100
|
||||
attributes.
|
||||
|
||||
--message=MESSAGE
|
||||
Message body to test the message transforms against.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--message-transforms-file=MESSAGE_TRANSFORMS_FILE
|
||||
Path to YAML or JSON file containing message transforms.
|
||||
|
||||
Subscription resource - Name of the subscription from which the message
|
||||
transforms are taken to be applied to the message. This represents a
|
||||
Cloud resource. (NOTE) Some attributes are not given arguments in this
|
||||
group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
▸ provide the argument --subscription on the command line with a
|
||||
fully specified name;
|
||||
▸ provide the argument --project on the command line;
|
||||
▸ set the property core/project.
|
||||
|
||||
--subscription=SUBSCRIPTION
|
||||
ID of the subscription or fully qualified identifier for the
|
||||
subscription.
|
||||
|
||||
To set the subscription attribute:
|
||||
▫ provide the argument --subscription on the command line.
|
||||
|
||||
Topic resource - Name of the topic from which the message transforms are
|
||||
taken to be applied to the message. The arguments in this group can be
|
||||
used to specify the attributes of this resource.
|
||||
|
||||
--topic=TOPIC
|
||||
ID of the topic or fully qualified identifier for the topic.
|
||||
|
||||
To set the topic attribute:
|
||||
▫ provide the argument --topic on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--topic-project=TOPIC_PROJECT
|
||||
Project ID of the Google Cloud project for the topic.
|
||||
|
||||
To set the project attribute:
|
||||
▫ provide the argument --topic on the command line with a fully
|
||||
specified name;
|
||||
▫ provide the argument --topic-project on the command line;
|
||||
▫ provide the argument --project on the command line;
|
||||
▫ set the property core/project.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha pubsub message-transforms test
|
||||
|
||||
$ gcloud beta pubsub message-transforms test
|
||||
|
||||
29
gcloud/pubsub/message-transforms/validate
Normal file
29
gcloud/pubsub/message-transforms/validate
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
NAME
|
||||
gcloud pubsub message-transforms validate - validates a message transform
|
||||
|
||||
SYNOPSIS
|
||||
gcloud pubsub message-transforms validate
|
||||
--message-transform-file=MESSAGE_TRANSFORM_FILE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Validates a message transform.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--message-transform-file=MESSAGE_TRANSFORM_FILE
|
||||
Path to YAML or JSON file containing a message transform.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha pubsub message-transforms validate
|
||||
|
||||
$ gcloud beta pubsub message-transforms validate
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue