Resource: Insight
An insight along with the information used to derive the insight. The insight may have associated recommendations as well.
JSON representation |
---|
{ "name" : string , "description" : string , "targetResources" : [ string ] , "insightSubtype" : string , "content" : { object } , "lastRefreshTime" : string , "observationPeriod" : string , "stateInfo" : { object ( |
Fields | |
---|---|
name
|
Name of the insight. |
description
|
Free-form human readable summary in English. The maximum length is 500 characters. |
targetResources[]
|
Fully qualified resource names that this insight is targeting. |
insightSubtype
|
Insight subtype. Insight content schema will be stable for a given subtype. |
content
|
A struct of custom fields to explain the insight. Example: "grantedPermissionsCount": "1000" |
lastRefreshTime
|
Timestamp of the latest data used to generate the insight. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
observationPeriod
|
Observation period that led to the insight. The source data used to generate the insight ends at lastRefreshTime and begins at (lastRefreshTime - observationPeriod). A duration in seconds with up to nine fractional digits, ending with ' |
stateInfo
|
Information state and metadata. |
category
|
Category being targeted by the insight. |
severity
|
Insight's severity. |
etag
|
Fingerprint of the Insight. Provides optimistic locking when updating states. |
associatedRecommendations[]
|
Recommendations derived from this insight. |
Methods |
|
---|---|
|
Gets the requested insight. |
|
Lists insights for the specified Cloud Resource. |
|
Marks the Insight State as Accepted. |