Class Recommendation (2.1.0)

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

NameDescription
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 .timestamp.Timestamp
Last time this recommendation was refreshed by the system that created it in the first place.
primary_impact .recommendation.Impact
The primary impact that this recommendation can have while trying to optimize for one category.
additional_impact Sequence[.recommendation.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 .recommendation.RecommendationContent
Content of the recommendation describing recommended changes to resources.
state_info .recommendation.RecommendationStateInfo
Information for state. Contains state and metadata.
etag str
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
associated_insights Sequence[.recommendation.Recommendation.InsightReference]
Insights that led to this recommendation.

Classes

InsightReference

InsightReference(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Reference to an associated insight.