NAME

gcloud alpha recommender recommendations mark-active - mark Active operations for a recommendation

SYNOPSIS

gcloud alpha recommender recommendations mark-active RECOMMENDATION --etag=ETAG --location=LOCATION --recommender=RECOMMENDER (--billing-account=BILLING_ACCOUNT | --folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID) [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) Mark a recommendation's state as ACTIVE. Can be applied to recommendations in DISMISSED state. This currently supports the following parent entities: project, billing account, folder, and organization.

EXAMPLES

To mark a recommenation as ACTIVE:

$ gcloud alpha recommender recommendations mark-active \ RECOMMENDATION_ID --project=${PROJECT} --location=${LOCATION} \ --recommender=${RECOMMENDER} --etag=etag

POSITIONAL ARGUMENTS

RECOMMENDATION

Recommendation id which will be marked as active

REQUIRED FLAGS

--etag=ETAG

Etag of a recommendation

--location=LOCATION

Location

--recommender=RECOMMENDER

Recommender of the recommendations

Resource that is associated with cloud entity type. Currently four mutually

exclusive flags are supported, --project, --billing-account, --folder, --organization.

Exactly one of these must be specified:

--billing-account=BILLING_ACCOUNT

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

--folder=FOLDER_ID

The Google Cloud Platform folder ID to use for this invocation.

--organization=ORGANIZATION_ID

The Google Cloud Platform organization ID to use for this invocation.

--project=PROJECT_ID

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

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 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.