mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Wed Mar 13 09:56:21 UTC 2024
This commit is contained in:
parent
7f632e0c5d
commit
75379bf68b
273 changed files with 9390 additions and 532 deletions
41
gcloud/tasks/buffer
Normal file
41
gcloud/tasks/buffer
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
NAME
|
||||
gcloud tasks buffer - buffers a task into a queue
|
||||
|
||||
SYNOPSIS
|
||||
gcloud tasks buffer --location=LOCATION --queue=QUEUE [--task-id=TASK_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Buffers a task into a queue.
|
||||
|
||||
EXAMPLES
|
||||
To buffer into a queue:
|
||||
|
||||
$ gcloud tasks buffer --queue=my-queue --location=us-central1
|
||||
|
||||
REQUIRED FLAGS
|
||||
--location=LOCATION
|
||||
The location where the queue exists.
|
||||
|
||||
--queue=QUEUE
|
||||
The queue the task belongs to.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--task-id=TASK_ID
|
||||
The task ID for the task being created.
|
||||
|
||||
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 tasks buffer
|
||||
|
||||
$ gcloud beta tasks buffer
|
||||
|
||||
|
|
@ -27,6 +27,9 @@ GROUPS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
buffer
|
||||
Buffers a task into a queue.
|
||||
|
||||
create-app-engine-task
|
||||
Create and add a task that targets App Engine.
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,19 @@ NAME
|
|||
gcloud tasks queues create - create a Cloud Tasks queue
|
||||
|
||||
SYNOPSIS
|
||||
gcloud tasks queues create QUEUE [--location=LOCATION]
|
||||
gcloud tasks queues create QUEUE
|
||||
[--http-header-override=HEADER_FIELD: HEADER_VALUE]
|
||||
[--http-method-override=HTTP_METHOD_OVERRIDE]
|
||||
[--http-uri-override=KEY:VALUE,[KEY:VALUE,...]] [--location=LOCATION]
|
||||
[--log-sampling-ratio=LOG_SAMPLING_RATIO] [--max-attempts=MAX_ATTEMPTS]
|
||||
[--max-backoff=MAX_BACKOFF]
|
||||
[--max-concurrent-dispatches=MAX_CONCURRENT_DISPATCHES]
|
||||
[--max-dispatches-per-second=MAX_DISPATCHES_PER_SECOND]
|
||||
[--max-doublings=MAX_DOUBLINGS]
|
||||
[--max-retry-duration=MAX_RETRY_DURATION] [--min-backoff=MIN_BACKOFF]
|
||||
[--routing-override=KEY:VALUE,[...]] [GCLOUD_WIDE_FLAG ...]
|
||||
[--routing-override=KEY:VALUE,[...]]
|
||||
[[--http-oauth-service-account-email-override=HTTP_OAUTH_SERVICE_ACCOUNT_EMAIL_OVERRIDE : --http-oauth-token-scope-override=HTTP_OAUTH_TOKEN_SCOPE_OVERRIDE] | [--http-oidc-service-account-email-override=HTTP_OIDC_SERVICE_ACCOUNT_EMAIL_OVERRIDE : --http-oidc-token-audience-override=HTTP_OIDC_TOKEN_AUDIENCE_OVERRIDE]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
The flags available to this command represent the fields of a queue that
|
||||
|
|
@ -28,6 +33,28 @@ POSITIONAL ARGUMENTS
|
|||
The queue to create.
|
||||
|
||||
FLAGS
|
||||
--http-header-override=HEADER_FIELD: HEADER_VALUE
|
||||
If provided, the specified HTTP headers override the existing headers
|
||||
for all tasks in the queue. If a task has a header with the same Key as
|
||||
a queue-level header override, then the value of the task header will
|
||||
be overriden with the value of the queue-level header. Otherwise, the
|
||||
queue-level header will be added to the task headers. Header values can
|
||||
contain commas. This flag can be repeated. Repeated header fields will
|
||||
have their values overridden.
|
||||
|
||||
--http-method-override=HTTP_METHOD_OVERRIDE
|
||||
If provided, the specified HTTP method type override is used for all
|
||||
tasks in the queue, no matter what is set at the task-level.
|
||||
|
||||
--http-uri-override=KEY:VALUE,[KEY:VALUE,...]
|
||||
If provided, the specified HTTP target URI override is used for all
|
||||
tasks in the queue depending on what is set as the mode. Allowed values
|
||||
for mode are: ALWAYS, IF_NOT_EXISTS. If not set, mode defaults to
|
||||
ALWAYS.
|
||||
|
||||
KEY must be at least one of: [scheme, host, port, path, query, mode].
|
||||
Any missing keys will use the default.
|
||||
|
||||
--location=LOCATION
|
||||
The location where we want to manage the queue or task. If not
|
||||
specified, uses the location of the current project's App Engine app if
|
||||
|
|
@ -87,6 +114,47 @@ FLAGS
|
|||
KEY must be at least one of: [service, version, instance]. Any missing
|
||||
keys will use the default.
|
||||
|
||||
If specified, all Authorization headers in the HttpRequest.headers field
|
||||
will be overridden for any tasks executed on this queue.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
OAuth2
|
||||
|
||||
--http-oauth-service-account-email-override=HTTP_OAUTH_SERVICE_ACCOUNT_EMAIL_OVERRIDE
|
||||
The service account email to be used for generating an OAuth2
|
||||
access token to be included in the request sent to the target when
|
||||
executing the task. The service account must be within the same
|
||||
project as the queue. The caller must have
|
||||
'iam.serviceAccounts.actAs' permission for the service account.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--http-oauth-token-scope-override=HTTP_OAUTH_TOKEN_SCOPE_OVERRIDE
|
||||
The scope to be used when generating an OAuth2 access token to be
|
||||
included in the request sent to the target when executing the task.
|
||||
If not specified, 'https://www.googleapis.com/auth/cloud-platform'
|
||||
will be used.
|
||||
|
||||
OpenId Connect
|
||||
|
||||
--http-oidc-service-account-email-override=HTTP_OIDC_SERVICE_ACCOUNT_EMAIL_OVERRIDE
|
||||
The service account email to be used for generating an OpenID
|
||||
Connect token to be included in the request sent to the target when
|
||||
executing the task. The service account must be within the same
|
||||
project as the queue. The caller must have
|
||||
'iam.serviceAccounts.actAs' permission for the service account.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--http-oidc-token-audience-override=HTTP_OIDC_TOKEN_AUDIENCE_OVERRIDE
|
||||
The audience to be used when generating an OpenID Connect token to
|
||||
be included in the request sent to the target when executing the
|
||||
task. If not specified, the URI specified in the target will be
|
||||
used.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,20 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud tasks queues update QUEUE [--location=LOCATION]
|
||||
[--clear-http-header-override
|
||||
| --http-header-override=HEADER_FIELD: HEADER_VALUE]
|
||||
[--clear-http-method-override
|
||||
| --http-method-override=HTTP_METHOD_OVERRIDE]
|
||||
[--clear-http-oauth-service-account-email-override
|
||||
| --http-oauth-service-account-email-override=HTTP_OAUTH_SERVICE_ACCOUNT_EMAIL_OVERRIDE]
|
||||
[--clear-http-oauth-token-scope-override
|
||||
| --http-oauth-token-scope-override=HTTP_OAUTH_TOKEN_SCOPE_OVERRIDE]
|
||||
[--clear-http-oidc-service-account-email-override
|
||||
| --http-oidc-service-account-email-override=HTTP_OIDC_SERVICE_ACCOUNT_EMAIL_OVERRIDE]
|
||||
[--clear-http-oidc-token-audience-override
|
||||
| --http-oidc-token-audience-override=HTTP_OIDC_TOKEN_AUDIENCE_OVERRIDE]
|
||||
[--clear-http-uri-override
|
||||
| --http-uri-override=KEY:VALUE,[KEY:VALUE,...]]
|
||||
[--clear-log-sampling-ratio | --log-sampling-ratio=LOG_SAMPLING_RATIO]
|
||||
[--clear-max-attempts | --max-attempts=MAX_ATTEMPTS]
|
||||
[--clear-max-backoff | --max-backoff=MAX_BACKOFF]
|
||||
|
|
@ -39,6 +53,90 @@ FLAGS
|
|||
specified, uses the location of the current project's App Engine app if
|
||||
there is an associated app.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-header-override
|
||||
Clear the field corresponding to --http-header-override.
|
||||
|
||||
--http-header-override=HEADER_FIELD: HEADER_VALUE
|
||||
If provided, the specified HTTP headers override the existing headers
|
||||
for all tasks in the queue. If a task has a header with the same Key
|
||||
as a queue-level header override, then the value of the task header
|
||||
will be overriden with the value of the queue-level header.
|
||||
Otherwise, the queue-level header will be added to the task headers.
|
||||
Header values can contain commas. This flag can be repeated. Repeated
|
||||
header fields will have their values overridden.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-method-override
|
||||
Clear the field corresponding to --http-method-override.
|
||||
|
||||
--http-method-override=HTTP_METHOD_OVERRIDE
|
||||
If provided, the specified HTTP method type override is used for all
|
||||
tasks in the queue, no matter what is set at the task-level.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-oauth-service-account-email-override
|
||||
Clear the field corresponding to
|
||||
--http-oauth-service-account-email-override.
|
||||
|
||||
--http-oauth-service-account-email-override=HTTP_OAUTH_SERVICE_ACCOUNT_EMAIL_OVERRIDE
|
||||
The service account email to be used for generating an OAuth2 access
|
||||
token to be included in the request sent to the target when executing
|
||||
the task. The service account must be within the same project as the
|
||||
queue. The caller must have 'iam.serviceAccounts.actAs' permission
|
||||
for the service account.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-oauth-token-scope-override
|
||||
Clear the field corresponding to --http-oauth-token-scope-override.
|
||||
|
||||
--http-oauth-token-scope-override=HTTP_OAUTH_TOKEN_SCOPE_OVERRIDE
|
||||
The scope to be used when generating an OAuth2 access token to be
|
||||
included in the request sent to the target when executing the task.
|
||||
If not specified, 'https://www.googleapis.com/auth/cloud-platform'
|
||||
will be used.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-oidc-service-account-email-override
|
||||
Clear the field corresponding to
|
||||
--http-oidc-service-account-email-override.
|
||||
|
||||
--http-oidc-service-account-email-override=HTTP_OIDC_SERVICE_ACCOUNT_EMAIL_OVERRIDE
|
||||
The service account email to be used for generating an OpenID Connect
|
||||
token to be included in the request sent to the target when executing
|
||||
the task. The service account must be within the same project as the
|
||||
queue. The caller must have 'iam.serviceAccounts.actAs' permission
|
||||
for the service account.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-oidc-token-audience-override
|
||||
Clear the field corresponding to --http-oidc-token-audience-override.
|
||||
|
||||
--http-oidc-token-audience-override=HTTP_OIDC_TOKEN_AUDIENCE_OVERRIDE
|
||||
The audience to be used when generating an OpenID Connect token to be
|
||||
included in the request sent to the target when executing the task.
|
||||
If not specified, the URI specified in the target will be used.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-http-uri-override
|
||||
Clear the field corresponding to --http-uri-override.
|
||||
|
||||
--http-uri-override=KEY:VALUE,[KEY:VALUE,...]
|
||||
If provided, the specified HTTP target URI override is used for all
|
||||
tasks in the queue depending on what is set as the mode. Allowed
|
||||
values for mode are: ALWAYS, IF_NOT_EXISTS. If not set, mode defaults
|
||||
to ALWAYS.
|
||||
|
||||
KEY must be at least one of: [scheme, host, port, path, query, mode].
|
||||
Any missing keys will use the default.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-log-sampling-ratio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue