gcloud recommender recommendations mark-claimed

NAME
gcloud recommender recommendations mark-claimed - mark a recommendation's state as CLAIMED
SYNOPSIS
gcloud recommender recommendations mark-claimed RECOMMENDATION --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
Mark a recommendation's state as CLAIMED. Can be applied to recommendations in CLAIMED, SUCCEEDED, FAILED, or ACTIVE state. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated.
EXAMPLES
To mark a recommendation as CLAIMED:
 gcloud  
recommender  
recommendations  
mark-claimed  
abcd-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 claimed
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 mutually exclusive flags are supported, --project, --billing-account, --folder, --organization.

Exactly one of these must be specified:

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.
OPTIONAL FLAGS
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
These variants are also available:
  gcloud  
alpha  
recommender  
recommendations  
mark-claimed 
 
  gcloud  
beta  
recommender  
recommendations  
mark-claimed 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: