google_api_recommender v0.6.0 GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Recommendation View Source
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
Attributes
additionalImpact(type:list(GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t), default:nil) - 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(type:GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationContent.t, default:nil) - Content of the recommendation describing recommended changes to resources.description(type:String.t, default:nil) - Free-form human readable summary in English. The maximum length is 500 characters.etag(type:String.t, default:nil) - Fingerprint of the Recommendation. Provides optimistic locking when updating states.lastRefreshTime(type:DateTime.t, default:nil) - Last time this recommendation was refreshed by the system that created it in the first place.name(type:String.t, default:nil) - Name of recommendation.primaryImpact(type:GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t, default:nil) - The primary impact that this recommendation can have while trying to optimize for one category.recommenderSubtype(type:String.t, default:nil) - 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 tocontentorprimary_impact.categoryare 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"
stateInfo(type:GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationStateInfo.t, default:nil) - Information for state. Contains state and metadata.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() ::
%GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Recommendation{
additionalImpact: [
GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t()
],
content:
GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationContent.t(),
description: String.t(),
etag: String.t(),
lastRefreshTime: DateTime.t(),
name: String.t(),
primaryImpact:
GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t(),
recommenderSubtype: String.t(),
stateInfo:
GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationStateInfo.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.