File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_managed-flink_jobs_update.1
.TH "GCLOUD_ALPHA_MANAGED\-FLINK_JOBS_UPDATE" 1
.SH "NAME"
.HP
gcloud alpha managed\-flink jobs update \- update the parallelism of a Flink job
.SH "SYNOPSIS"
.HP
\f5gcloud alpha managed\-flink jobs update\fR \fIJOBID\fR \fB\-\-location\fR=\fILOCATION\fR [\fB\-\-project\fR=\fIPROJECT_ID\fR] [\fB\-\-async\fR] [\fB\-\-autotuning\-mode\fR=\fIAUTOTUNING_MODE\fR;\ default="elastic"] [\fB\-\-deployment\fR=\fIDEPLOYMENT_NAME\fR] [\fB\-\-enable\-output\fR] [\fB\-\-max\-parallelism\fR=\fIMAX_PARALLELISM\fR] [\fB\-\-min\-parallelism\fR=\fIMIN_PARALLELISM\fR] [\fB\-\-parallelism\fR=\fIPARALLELISM\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Update the parallelism of a Flink job.
.SH "EXAMPLES"
The following command updates a Flink Job with the ID \f5example\-job\-id\fR to
change max parallesim to 4:
.RS 2m
$ gcloud alpha managed\-flink jobs update example\-job\-id \e
\-\-project=example\-project \-\-location=us\-central1 \e
\-\-autotuning\-mode elastic \-\-min\-parallelism=1 \e
\-\-max\-parallelism=4 \e
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIJOBID\fR
The id of the job.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location to run the job in.
.RE
.sp
.SH "COMMONLY USED FLAGS"
.RS 2m
.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR
Project to update the job in. Overrides the default \fBcore/project\fR property
value for this command invocation.
.RE
.sp
.SH "OTHER FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately after job submission.
.TP 2m
\fB\-\-autotuning\-mode\fR=\fIAUTOTUNING_MODE\fR; default="elastic"
Selects the autotuning mode for jobs. \fIAUTOTUNING_MODE\fR must be one of:
.RS 2m
.TP 2m
\fBelastic\fR
The number of taskmanagers is scaled automatically according to workload.
.TP 2m
\fBfixed\fR
The number of taskmanagers is fixed.
.RE
.sp
.TP 2m
\fB\-\-deployment\fR=\fIDEPLOYMENT_NAME\fR
Deployment to update the job in.
.TP 2m
\fB\-\-enable\-output\fR
Shows the output of the Flink client.
.TP 2m
\fB\-\-max\-parallelism\fR=\fIMAX_PARALLELISM\fR
The maximum parallelism of the job when in "elastic" autotuning mode.
.TP 2m
\fB\-\-min\-parallelism\fR=\fIMIN_PARALLELISM\fR
The minimum parallelism of the job when in "elastic" autotuning mode. This will
also be the initial parallelism of the job.
.TP 2m
\fB\-\-parallelism\fR=\fIPARALLELISM\fR
The parallelism of the job when in "fixed" autotuning mode.
.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.