gcloud tasks queues pause - pause a queue
gcloud tasks queues pause QUEUE [--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
If a queue is paused then the system will stop executing the tasks in the queue until it is resumed. Tasks can still be added when the queue is paused.
To pause a queue:
$ gcloud tasks queues pause my-queue
- QUEUE
The queue to pause.
- --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.
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.
These variants are also available:
$ gcloud alpha tasks queues pause
$ gcloud beta tasks queues pause