Resource: Recommendation
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
JSON representation |
---|
{ "name": string, "description": string, "recommenderSubtype": string, "lastRefreshTime": string, "primaryImpact": { object ( |
Fields | |
---|---|
name |
Name of recommendation. |
description |
Free-form human readable summary in English. The maximum length is 500 characters. |
recommenderSubtype |
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to Examples: For recommender = "google.iam.policy.Recommender", recommenderSubtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE" |
lastRefreshTime |
Last time this recommendation was refreshed by the system that created it in the first place. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
primaryImpact |
The primary impact that this recommendation can have while trying to optimize for one category. |
additionalImpact[] |
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative. |
priority |
Recommendation's priority. |
content |
Content of the recommendation describing recommended changes to resources. |
stateInfo |
Information for state. Contains state and metadata. |
etag |
Fingerprint of the Recommendation. Provides optimistic locking when updating states. |
associatedInsights[] |
Insights that led to this recommendation. |
xorGroupId |
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied. |
targetResources[] |
Fully qualified resource names that this recommendation is targeting. |
Methods |
|
---|---|
|
Gets the requested recommendation. |
|
Lists recommendations for the specified Cloud Resource. |
|
Marks the Recommendation State as Claimed. |
|
Mark the Recommendation State as Dismissed. |
|
Marks the Recommendation State as Failed. |
|
Marks the Recommendation State as Succeeded. |