gcloud beta tasks queues create-pull-queue Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta tasks queues create-pull-queue - create a pull queue
- SYNOPSIS
gcloud beta tasks queues create-pull-queueQUEUE[--location=LOCATION][--max-attempts=MAX_ATTEMPTS][--max-retry-duration=MAX_RETRY_DURATION][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)The flags available to this command represent the fields ofa pull queue that are mutable.If you have early access to Cloud Tasks, refer to the following guide for moreinformation 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:
gcloudbetatasksqueuescreate-pull-queuemy-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, usesthe location of the current project's App Engine app if there is an associatedapp.
--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 firstrun. Once the
--max-retry-durationtime has passed and the task hasbeen attempted --max-attempts times, no further attempts will be made and thetask 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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. This variantis also available:
gcloudalphatasksqueuescreate-pull-queue
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.