pub struct GoogleCloudRecommenderV1Insight {
pub associated_recommendations: Option<Vec<GoogleCloudRecommenderV1InsightRecommendationReference>>,
pub category: Option<String>,
pub content: Option<HashMap<String, Value>>,
pub description: Option<String>,
pub etag: Option<String>,
pub insight_subtype: Option<String>,
pub last_refresh_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub observation_period: Option<Duration>,
pub severity: Option<String>,
pub state_info: Option<GoogleCloudRecommenderV1InsightStateInfo>,
pub target_resources: Option<Vec<String>>,
}Expand description
An insight along with the information used to derive the insight. The insight may have associated recommendations as well.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations insight types insights get billing accounts (response)
- locations insight types insights mark accepted billing accounts (response)
- locations insight types insights get folders (response)
- locations insight types insights mark accepted folders (response)
- locations insight types insights get organizations (response)
- locations insight types insights mark accepted organizations (response)
- locations insight types insights get projects (response)
- locations insight types insights mark accepted projects (response)
Fields§
§associated_recommendations: Option<Vec<GoogleCloudRecommenderV1InsightRecommendationReference>>Recommendations derived from this insight.
category: Option<String>Category being targeted by the insight.
content: Option<HashMap<String, Value>>A struct of custom fields to explain the insight. Example: “grantedPermissionsCount”: “1000”
description: Option<String>Free-form human readable summary in English. The maximum length is 500 characters.
etag: Option<String>Fingerprint of the Insight. Provides optimistic locking when updating states.
insight_subtype: Option<String>Insight subtype. Insight content schema will be stable for a given subtype.
last_refresh_time: Option<DateTime<Utc>>Timestamp of the latest data used to generate the insight.
name: Option<String>Identifier. Name of the insight.
observation_period: Option<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).
severity: Option<String>Insight’s severity.
state_info: Option<GoogleCloudRecommenderV1InsightStateInfo>Information state and metadata.
target_resources: Option<Vec<String>>Fully qualified resource names that this insight is targeting.
Trait Implementations§
Source§impl Clone for GoogleCloudRecommenderV1Insight
impl Clone for GoogleCloudRecommenderV1Insight
Source§fn clone(&self) -> GoogleCloudRecommenderV1Insight
fn clone(&self) -> GoogleCloudRecommenderV1Insight
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more