Class Insight (2.0.0)

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

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

Attributes

NameDescription
name str
Name of the insight.
description str
Free-form human readable summary in English. The maximum length is 500 characters.
target_resources Sequence[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 .struct.Struct
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000".
last_refresh_time .timestamp.Timestamp
Timestamp of the latest data used to generate the insight.
observation_period .duration.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).
state_info .insight.InsightStateInfo
Information state and metadata.
category .insight.Insight.Category
Category being targeted by the insight.
etag str
Fingerprint of the Insight. Provides optimistic locking when updating states.
associated_recommendations Sequence[.insight.Insight.RecommendationReference]
Recommendations derived from this insight.

Classes

Category

Category(value)

Insight category.

RecommendationReference

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

Reference to an associated recommendation.