Class Insight

An insight along with the information used to derive the insight. The insight may have associated recomendations as well.

Attributes
NameDescription
strname
Name of the insight.
strdescription
Free-form human readable summary in English. The maximum length is 500 characters.
Sequence[str]target_resources
Fully qualified resource names that this insight is targeting.
strinsight_subtype
Insight subtype. Insight content schema will be stable for a given subtype.
google.protobuf.struct_pb2.Structcontent
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000".
google.protobuf.timestamp_pb2.Timestamplast_refresh_time
Timestamp of the latest data used to generate the insight.
google.protobuf.duration_pb2.Durationobservation_period
Observation period that led to the insight. The source data used to generate the insight ends at last_refresh_time and begins at (last_refresh_time - observation_period).
google.cloud.recommender_v1.types.InsightStateInfostate_info
Information state and metadata.
google.cloud.recommender_v1.types.Insight.Categorycategory
Category being targeted by the insight.
stretag
Fingerprint of the Insight. Provides optimistic locking when updating states.
Sequence[google.cloud.recommender_v1.types.Insight.RecommendationReference]associated_recommendations
Recommendations derived from this insight.

Inheritance

builtins.object > proto.message.Message > Insight

Classes

Category

Category(value)

Insight category.

RecommendationReference

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

Reference to an associated recommendation.