Class Recommendation (2.2.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


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.
The primary impact that this recommendation can have while trying to optimize for one category.
additional_impact Sequence[]
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 of the recommendation describing recommended changes to resources.
Information for state. Contains state and metadata.
etag str
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
associated_insights Sequence[]
Insights that led to this recommendation.



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

Reference to an associated insight. .. attribute:: insight

Insight resource name, e.g. projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]

:type: str