Recommendation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
Attributes | |
---|---|
Name | Description |
name |
str
Name of recommendation. |
description |
str
Free-form human readable summary in English. The maximum length is 500 characters. |
recommender_subtype |
str
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 content or
primary_impact.category are introduced. See the
Recommenders section to see a list of subtypes for a given
Recommender.
Examples: For recommender = "google.iam.policy.Recommender",
recommender_subtype can be one of
"REMOVE_ROLE"/"REPLACE_ROLE".
|
last_refresh_time |
google.protobuf.timestamp_pb2.Timestamp
Last time this recommendation was refreshed by the system that created it in the first place. |
primary_impact |
google.cloud.recommender_v1.types.Impact
The primary impact that this recommendation can have while trying to optimize for one category. |
additional_impact |
Sequence[google.cloud.recommender_v1.types.Impact]
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative. |
content |
google.cloud.recommender_v1.types.RecommendationContent
Content of the recommendation describing recommended changes to resources. |
state_info |
google.cloud.recommender_v1.types.RecommendationStateInfo
Information for state. Contains state and metadata. |
etag |
str
Fingerprint of the Recommendation. Provides optimistic locking when updating states. |
associated_insights |
Sequence[google.cloud.recommender_v1.types.Recommendation.InsightReference]
Insights that led to this recommendation. |
Classes
InsightReference
InsightReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Reference to an associated insight.