mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Apr 26 10:24:37 UTC 2023
This commit is contained in:
parent
b33a8a3e6e
commit
2ae1bc2b12
276 changed files with 6093 additions and 833 deletions
|
|
@ -2,7 +2,10 @@ NAME
|
|||
gcloud beta tasks queues create - create a Cloud Tasks queue
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta tasks queues create QUEUE [--location=LOCATION]
|
||||
gcloud beta 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]
|
||||
|
|
@ -10,6 +13,7 @@ SYNOPSIS
|
|||
[--max-doublings=MAX_DOUBLINGS]
|
||||
[--max-retry-duration=MAX_RETRY_DURATION] [--min-backoff=MIN_BACKOFF]
|
||||
[--routing-override=KEY:VALUE,[...]] [--type=TYPE; default="push"]
|
||||
[[--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
|
||||
|
|
@ -29,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
|
||||
|
|
@ -92,6 +118,47 @@ FLAGS
|
|||
Specifies the type of queue. Only available options are 'push' and
|
||||
'pull'. The default option is 'push'.
|
||||
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue