File: //snap/google-cloud-cli/current/help/man/man1/gcloud_recommender_recommender-config_update.1
.TH "GCLOUD_RECOMMENDER_RECOMMENDER\-CONFIG_UPDATE" 1
.SH "NAME"
.HP
gcloud recommender recommender\-config update \- update a recommender configuration
.SH "SYNOPSIS"
.HP
\f5gcloud recommender recommender\-config update\fR \fIRECOMMENDER\fR \fB\-\-etag\fR=\fIETAG\fR \fB\-\-location\fR=\fILOCATION\fR (\fB\-\-billing\-account\fR=\fIBILLING_ACCOUNT\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION_ID\fR\ |\ \fB\-\-project\fR=\fIPROJECT_ID\fR) [\fB\-\-annotations\fR=\fIKEY\fR=\fIVALUE\fR,[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-config\-file\fR=\fICONFIG_FILE\fR] [\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR] [\fB\-\-validate\-only\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Update a recommender configuration based on a given entity (project,
organization, billing account), location, and recommender.
.SH "EXAMPLES"
To update a recommender configuration, run:
.RS 2m
$ gcloud recommender recommender\-config update ${RECOMMENDER} \e
\-\-project=${PROJECT} \-\-location=${LOCATION} \-\-etag=\e"123\e" \e
\-\-config\-file=config.yaml
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIRECOMMENDER\fR
Recommender to use for this invocation.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-etag\fR=\fIETAG\fR
Etag of the recommender configuration.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location to use for this invocation.
.TP 2m
Resource that is associated with cloud entity type.
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-billing\-account\fR=\fIBILLING_ACCOUNT\fR
The Google Cloud billing account ID to use for this invocation.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION_ID\fR
The Google Cloud organization ID to use for this invocation.
.TP 2m
\fB\-\-project\fR=\fIPROJECT_ID\fR
The Google Cloud project ID. Overrides the default \fBcore/project\fR property
value for this command invocation.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-annotations\fR=\fIKEY\fR=\fIVALUE\fR,[\fIKEY\fR=\fIVALUE\fR,...]
Store small amounts of arbitrary data on the recommender configuration.
.TP 2m
\fB\-\-config\-file\fR=\fICONFIG_FILE\fR
Generation configuration file for the recommender configuration.
.TP 2m
\fB\-\-display\-name\fR=\fIDISPLAY_NAME\fR
Display name of the recommender configuration.
.TP 2m
\fB\-\-validate\-only\fR
If true, validate the request and preview the change, but do not actually update
it.
.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 variant is also available:
.RS 2m
$ gcloud beta recommender recommender\-config update
.RE