File: //snap/google-cloud-cli/current/help/man/man1/gcloud_parametermanager_parameters_versions_update.1
.TH "GCLOUD_PARAMETERMANAGER_PARAMETERS_VERSIONS_UPDATE" 1
.SH "NAME"
.HP
gcloud parametermanager parameters versions update \- updates the properties of a single Parameter Manager parameter version
.SH "SYNOPSIS"
.HP
\f5gcloud parametermanager parameters versions update\fR (\fIVERSION\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-parameter\fR=\fIPARAMETER\fR) [\fB\-\-[no\-]disabled\fR] [\fB\-\-request\-id\fR=\fIREQUEST_ID\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Updates the properties of a single parameter version, including status of the
parameter version (enabled/disabled).
.SH "EXAMPLES"
To update a parameter version \f5my\-parameter\-version\fR of parameter
\f5my\-parameter\fR in location \f5global\fR run:
.RS 2m
$ gcloud parametermanager parameters versions update \e
my\-parameter\-version \-\-parameter=my\-parameter \-\-location=global
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Version resource \- Identifier. [Output only] The resource name of the
ParameterVersion in the format
\f5projects/*/locations/*/parameters/*/versions/*\fR. The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5version\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIVERSION\fR
ID of the version or fully qualified identifier for the version.
To set the \f5version\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5version\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
The location id of the version resource.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5version\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line.
.RE
.sp
.TP 2m
\fB\-\-parameter\fR=\fIPARAMETER\fR
The parameter id of the version resource.
To set the \f5parameter\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5version\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-parameter\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-[no\-]disabled\fR
Disabled boolean to determine if a ParameterVersion acts as a metadata only
resource (payload is never returned if disabled is true). If true any calls will
always default to BASIC view even if the user explicitly passes FULL view as
part of the request. A render call on a disabled resource fails with an error.
Default value is False. Use \fB\-\-disabled\fR to enable and
\fB\-\-no\-disabled\fR to disable.
.TP 2m
\fB\-\-request\-id\fR=\fIREQUEST_ID\fR
An optional request ID to identify requests. Specify a unique request ID so that
if you must retry your request, the server will know to ignore the request if it
has already been completed. The server will guarantee that for at least 60
minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request ID, the
server can check if original operation with the same request ID was received,
and if so, will ignore the second request. This prevents clients from
accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not
supported (00000000\-0000\-0000\-0000\-000000000000).
.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 "API REFERENCE"
This command uses the \fBparametermanager/v1\fR API. The full documentation for
this API can be found at:
https://cloud.google.com/secret\-manager/parameter\-manager/docs/overview