mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
60 lines
2.2 KiB
Text
60 lines
2.2 KiB
Text
NAME
|
|
gcloud alpha tasks queues create-pull-queue - create a pull queue
|
|
|
|
SYNOPSIS
|
|
gcloud alpha tasks queues create-pull-queue QUEUE [--location=LOCATION]
|
|
[--max-attempts=MAX_ATTEMPTS] [--max-retry-duration=MAX_RETRY_DURATION]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) The flags available to this command represent the fields of a pull
|
|
queue that are mutable.
|
|
|
|
If you have early access to Cloud Tasks, refer to the following guide for
|
|
more information about the different queue target types:
|
|
https://cloud.google.com/cloud-tasks/docs/queue-types. For access, sign up
|
|
here: https://goo.gl/Ya0AZd
|
|
|
|
EXAMPLES
|
|
To create a Cloud Tasks pull queue:
|
|
|
|
$ gcloud alpha tasks queues create-pull-queue my-queue \
|
|
--max-attempts=10 --max-retry-duration=10s
|
|
|
|
POSITIONAL ARGUMENTS
|
|
QUEUE
|
|
The queue to create.
|
|
|
|
FLAGS
|
|
--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
|
|
there is an associated app.
|
|
|
|
--max-attempts=MAX_ATTEMPTS
|
|
The maximum number of attempts per task in the queue.
|
|
|
|
--max-retry-duration=MAX_RETRY_DURATION
|
|
The time limit for retrying a failed task, measured from when the task
|
|
was first run. Once the --max-retry-duration time has passed and the
|
|
task has been attempted --max-attempts times, no further attempts will
|
|
be made and the task will be deleted.
|
|
|
|
Must be a string that ends in 's', such as "5s".
|
|
|
|
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
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. This variant is also available:
|
|
|
|
$ gcloud beta tasks queues create-pull-queue
|
|
|