Class Insight (2.15.2)

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

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


name str
Name of the insight.
description str
Free-form human readable summary in English. The maximum length is 500 characters.
target_resources MutableSequence[str]
Fully qualified resource names that this insight is targeting.
insight_subtype str
Insight subtype. Insight content schema will be stable for a given subtype.
content google.protobuf.struct_pb2.Struct
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000".
last_refresh_time google.protobuf.timestamp_pb2.Timestamp
Timestamp of the latest data used to generate the insight.
observation_period google.protobuf.duration_pb2.Duration
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).
Information state and metadata.
Category being targeted by the insight.
Insight's severity.
etag str
Fingerprint of the Insight. Provides optimistic locking when updating states.
associated_recommendations MutableSequence[]
Recommendations derived from this insight.




Insight category.

Values: CATEGORY_UNSPECIFIED (0): Unspecified category. COST (1): The insight is related to cost. SECURITY (2): The insight is related to security. PERFORMANCE (3): The insight is related to performance. MANAGEABILITY (4): This insight is related to manageability.


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

Reference to an associated recommendation.



Insight severity levels.

Values: SEVERITY_UNSPECIFIED (0): Insight has unspecified severity. LOW (1): Insight has low severity. MEDIUM (2): Insight has medium severity. HIGH (3): Insight has high severity. CRITICAL (4): Insight has critical severity.