File: //snap/google-cloud-cli/396/help/man/man1/gcloud_run_jobs_replace.1
.TH "GCLOUD_RUN_JOBS_REPLACE" 1
.SH "NAME"
.HP
gcloud run jobs replace \- create or replace a job from a YAML job specification
.SH "SYNOPSIS"
.HP
\f5gcloud run jobs replace\fR \fIFILE\fR [\fB\-\-async\fR] [\fB\-\-region\fR=\fIREGION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Creates or replaces a job from a YAML job specification.
.SH "EXAMPLES"
To replace the specification for a job defined in myjob.yaml
.RS 2m
$ gcloud run jobs replace myjob.yaml
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIFILE\fR
The absolute path to the YAML file with a Cloud Run job definition for the job
to update or create.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Region in which the resource can be found. Alternatively, set the property
[run/region].
.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"
These variants are also available:
.RS 2m
$ gcloud alpha run jobs replace
.RE
.RS 2m
$ gcloud beta run jobs replace
.RE