NAME

gcloud recommender recommender-config update - update a recommender configuration

SYNOPSIS

gcloud recommender recommender-config update RECOMMENDER --etag=ETAG --location=LOCATION (--billing-account=BILLING_ACCOUNT | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [--annotations=KEY=VALUE,[KEY=VALUE,...]] [--config-file=CONFIG_FILE] [--display-name=DISPLAY_NAME] [--validate-only] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

Update a recommender configuration based on a given entity (project, organization, billing account), location, and recommender.

EXAMPLES

To update a recommender configuration, run:

$ gcloud recommender recommender-config update ${RECOMMENDER} \ --project=${PROJECT} --location=${LOCATION} --etag=\"123\" \ --config-file=config.yaml

POSITIONAL ARGUMENTS

RECOMMENDER

Recommender to use for this invocation.

REQUIRED FLAGS

--etag=ETAG

Etag of the recommender configuration.

--location=LOCATION

Location to use for this invocation.

Resource that is associated with cloud entity type.

Exactly one of these must be specified:

--billing-account=BILLING_ACCOUNT

The Google Cloud billing account ID to use for this invocation.

--organization=ORGANIZATION_ID

The Google Cloud organization ID to use for this invocation.

--project=PROJECT_ID

The Google Cloud project ID. Overrides the default core/project property value for this command invocation.

OPTIONAL FLAGS

--annotations=KEY=VALUE,[KEY=VALUE,...]

Store small amounts of arbitrary data on the recommender configuration.

--config-file=CONFIG_FILE

Generation configuration file for the recommender configuration.

--display-name=DISPLAY_NAME

Display name of the recommender configuration.

--validate-only

If true, validate the request and preview the change, but do not actually update it.

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 $ gcloud help for details.

NOTES

This variant is also available:

$ gcloud beta recommender recommender-config update