HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/help/man/man1/gcloud_alpha_tasks_create-pull-task.1
.TH "GCLOUD_ALPHA_TASKS_CREATE\-PULL\-TASK" 1



.SH "NAME"
.HP
gcloud alpha tasks create\-pull\-task \- create and add a task to a pull queue



.SH "SYNOPSIS"
.HP
\f5gcloud alpha tasks create\-pull\-task\fR [\fITASK_ID\fR] \fB\-\-queue\fR=\fIQUEUE\fR [\fB\-\-location\fR=\fILOCATION\fR] [\fB\-\-schedule\-time\fR=\fISCHEDULE_TIME\fR] [\fB\-\-tag\fR=\fITAG\fR] [\fB\-\-payload\-content\fR=\fIPAYLOAD_CONTENT\fR\ |\ \fB\-\-payload\-file\fR=\fIPAYLOAD_FILE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Create and add a task to a pull queue.



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
[\fITASK_ID\fR]

The task to create.

If not specified then the system will generate a random unique task ID.
Explicitly specifying a task ID enables task de\-duplication. If a task's ID is
identical to that of an existing task or a task that was deleted or completed
recently then the call will fail.

Because there is an extra lookup cost to identify duplicate task names, tasks
created with IDs have significantly increased latency. Using hashed strings for
the task ID or for the prefix of the task ID is recommended.


.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-queue\fR=\fIQUEUE\fR

The queue the task belongs to.


.RE
.sp

.SH "OPTIONAL 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.

.TP 2m
\fB\-\-schedule\-time\fR=\fISCHEDULE_TIME\fR

The time when the task is scheduled to be first attempted. Defaults to "now" if
not specified.

.TP 2m
\fB\-\-tag\fR=\fITAG\fR

An optional label used to group similar tasks.

.TP 2m

At most one of these can be specified:


.RS 2m
.TP 2m
\fB\-\-payload\-content\fR=\fIPAYLOAD_CONTENT\fR

Data payload used by the task worker to process the task.

.TP 2m
\fB\-\-payload\-file\fR=\fIPAYLOAD_FILE\fR

File containing data payload used by the task worker to process the task.


.RE
.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.