Struct google_recommender1_beta1::api::GoogleCloudRecommenderV1beta1Recommendation [−][src]
pub struct GoogleCloudRecommenderV1beta1Recommendation {
pub additional_impact: Option<Vec<GoogleCloudRecommenderV1beta1Impact>>,
pub associated_insights: Option<Vec<GoogleCloudRecommenderV1beta1RecommendationInsightReference>>,
pub content: Option<GoogleCloudRecommenderV1beta1RecommendationContent>,
pub description: Option<String>,
pub etag: Option<String>,
pub last_refresh_time: Option<String>,
pub name: Option<String>,
pub primary_impact: Option<GoogleCloudRecommenderV1beta1Impact>,
pub recommender_subtype: Option<String>,
pub state_info: Option<GoogleCloudRecommenderV1beta1RecommendationStateInfo>,
}
Expand description
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
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 recommenders recommendations get billing accounts (response)
- locations recommenders recommendations mark claimed billing accounts (response)
- locations recommenders recommendations mark failed billing accounts (response)
- locations recommenders recommendations mark succeeded billing accounts (response)
- locations recommenders recommendations get folders (response)
- locations recommenders recommendations mark claimed folders (response)
- locations recommenders recommendations mark failed folders (response)
- locations recommenders recommendations mark succeeded folders (response)
- locations recommenders recommendations get organizations (response)
- locations recommenders recommendations mark claimed organizations (response)
- locations recommenders recommendations mark failed organizations (response)
- locations recommenders recommendations mark succeeded organizations (response)
- locations recommenders recommendations get projects (response)
- locations recommenders recommendations mark claimed projects (response)
- locations recommenders recommendations mark failed projects (response)
- locations recommenders recommendations mark succeeded projects (response)
Fields
additional_impact: Option<Vec<GoogleCloudRecommenderV1beta1Impact>>
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
associated_insights: Option<Vec<GoogleCloudRecommenderV1beta1RecommendationInsightReference>>
Insights that led to this recommendation.
content: Option<GoogleCloudRecommenderV1beta1RecommendationContent>
Content of the recommendation describing recommended changes to resources.
description: Option<String>
Free-form human readable summary in English. The maximum length is 500 characters.
etag: Option<String>
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
last_refresh_time: Option<String>
Last time this recommendation was refreshed by the system that created it in the first place.
name: Option<String>
Name of recommendation.
primary_impact: Option<GoogleCloudRecommenderV1beta1Impact>
The primary impact that this recommendation can have while trying to optimize for one category.
recommender_subtype: Option<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”
state_info: Option<GoogleCloudRecommenderV1beta1RecommendationStateInfo>
Information for state. Contains state and metadata.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more