Struct google_recommender1_beta1::api::GoogleCloudRecommenderV1beta1Insight[][src]

pub struct GoogleCloudRecommenderV1beta1Insight {
    pub associated_recommendations: Option<Vec<GoogleCloudRecommenderV1beta1InsightRecommendationReference>>,
    pub category: Option<String>,
    pub content: Option<HashMap<String, String>>,
    pub description: Option<String>,
    pub etag: Option<String>,
    pub insight_subtype: Option<String>,
    pub last_refresh_time: Option<String>,
    pub name: Option<String>,
    pub observation_period: Option<String>,
    pub state_info: Option<GoogleCloudRecommenderV1beta1InsightStateInfo>,
    pub target_resources: Option<Vec<String>>,
}

An insight along with the information used to derive the insight. The insight may have associated recomendations 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).

Fields

associated_recommendations: Option<Vec<GoogleCloudRecommenderV1beta1InsightRecommendationReference>>

Recommendations derived from this insight.

category: Option<String>

Category being targeted by the insight.

content: Option<HashMap<String, String>>

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<String>

Timestamp of the latest data used to generate the insight.

name: Option<String>

Name of the insight.

observation_period: Option<String>

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: Option<GoogleCloudRecommenderV1beta1InsightStateInfo>

Information state and metadata.

target_resources: Option<Vec<String>>

Fully qualified resource names that this insight is targeting.

Trait Implementations

impl Clone for GoogleCloudRecommenderV1beta1Insight[src]

impl Debug for GoogleCloudRecommenderV1beta1Insight[src]

impl Default for GoogleCloudRecommenderV1beta1Insight[src]

impl<'de> Deserialize<'de> for GoogleCloudRecommenderV1beta1Insight[src]

impl ResponseResult for GoogleCloudRecommenderV1beta1Insight[src]

impl Serialize for GoogleCloudRecommenderV1beta1Insight[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.