[][src]Struct gcp_client::google::cloud::recommender::v1beta1::Recommendation

pub struct Recommendation {
    pub name: String,
    pub description: String,
    pub recommender_subtype: String,
    pub last_refresh_time: Option<Timestamp>,
    pub primary_impact: Option<Impact>,
    pub additional_impact: Vec<Impact>,
    pub content: Option<RecommendationContent>,
    pub state_info: Option<RecommendationStateInfo>,
    pub etag: String,
    pub associated_insights: Vec<InsightReference>,
}

A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc

Fields

name: String

Name of recommendation.

description: String

Free-form human readable summary in English. The maximum length is 500 characters.

recommender_subtype: String

Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to content or primary_impact.category are introduced. See the Recommenders section to see a list of subtypes for a given Recommender.

Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"

last_refresh_time: Option<Timestamp>

Last time this recommendation was refreshed by the system that created it in the first place.

primary_impact: Option<Impact>

The primary impact that this recommendation can have while trying to optimize for one category.

additional_impact: Vec<Impact>

Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.

content: Option<RecommendationContent>

Content of the recommendation describing recommended changes to resources.

state_info: Option<RecommendationStateInfo>

Information for state. Contains state and metadata.

etag: String

Fingerprint of the Recommendation. Provides optimistic locking when updating states.

associated_insights: Vec<InsightReference>

Insights that led to this recommendation.

Trait Implementations

impl Clone for Recommendation[src]

impl Debug for Recommendation[src]

impl Default for Recommendation[src]

impl Message for Recommendation[src]

impl PartialEq<Recommendation> for Recommendation[src]

impl StructuralPartialEq for Recommendation[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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]