gcloud beta recommender recommendations mark-failed

NAME
gcloud beta recommender recommendations mark-failed - mark a recommendation's state as FAILED
SYNOPSIS
gcloud beta recommender recommendations mark-failedRECOMMENDATION--etag=ETAG--location=LOCATION--recommender=RECOMMENDER(--billing-account=BILLING_ACCOUNT    |--folder=FOLDER_ID    |--organization=ORGANIZATION_ID    |--project=PROJECT_ID)[--state-metadata=KEY=VALUE,[KEY=VALUE,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Mark a recommendation's state as FAILED. Can be applied torecommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state.
EXAMPLES
To mark a recommendation as FAILED:
gcloudbetarecommenderrecommendationsmark-failedabcd-1234--project=project-id--location=global--recommender=google.compute.instance.MachineTypeRecommender--etag=abc123--state-metadata=key1=value1,key2=value2
POSITIONAL ARGUMENTS
RECOMMENDATION
Recommendation id which will be marked as FAILED.
REQUIRED FLAGS
--etag=ETAG
Etag of a recommendation.
--location=LOCATION
Location.
--recommender=RECOMMENDER
Recommender of recommendation.
Resource that is associated with cloud entity type. Currently four mutuallyexclusive 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 defaultcore/project property value for this command invocation.
OPTIONAL FLAGS
--state-metadata=KEY=VALUE,[KEY=VALUE,…]
State metadata for recommendation, in format of--state-metadata=key1=value1,key2=value2
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 beta and might change without notice. Thesevariants are also available:
gcloudrecommenderrecommendationsmark-failed
gcloudalpharecommenderrecommendationsmark-failed

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.