File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_run_worker-pools_replace.1
.TH "GCLOUD_ALPHA_RUN_WORKER\-POOLS_REPLACE" 1
.SH "NAME"
.HP
gcloud alpha run worker\-pools replace \- create or replace a worker\-pool from a YAML worker\-pool specification
.SH "SYNOPSIS"
.HP
\f5gcloud alpha run worker\-pools replace\fR \fIFILE\fR [\fB\-\-async\fR] [\fB\-\-dry\-run\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Creates or replaces a worker\-pool from a YAML worker\-pool
specification.
.SH "EXAMPLES"
To replace the specification for a worker\-pool defined in my\-worker\-pool.yaml
.RS 2m
$ gcloud alpha run worker\-pools replace my\-worker\-pool.yaml
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIFILE\fR
The absolute path to the YAML file with a Cloud Run worker\-pool definition for
the worker\-pool 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\-\-dry\-run\fR
If set to true, only validates the configuration. The configuration will not be
applied.
.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. This variant is also available:
.RS 2m
$ gcloud beta run worker\-pools replace
.RE