HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/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