File: //snap/google-cloud-cli/396/help/man/man1/gcloud_alpha_tasks_queues_pause.1
.TH "GCLOUD_ALPHA_TASKS_QUEUES_PAUSE" 1
.SH "NAME"
.HP
gcloud alpha tasks queues pause \- pause a queue
.SH "SYNOPSIS"
.HP
\f5gcloud alpha tasks queues pause\fR \fIQUEUE\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR 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.
.SH "EXAMPLES"
To pause a queue:
.RS 2m
$ gcloud alpha tasks queues pause my\-queue
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIQUEUE\fR
The queue to pause.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
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.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "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. These variants are also available:
.RS 2m
$ gcloud tasks queues pause
.RE
.RS 2m
$ gcloud beta tasks queues pause
.RE