GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Recommendation (google_api_recommender v0.15.0) 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.
  • associatedInsights (type: list(GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationInsightReference.t), default: nil) - Insights that led to this recommendation.
  • 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.
  • priority (type: String.t, default: nil) - Recommendation's priority.
  • 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 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"
  • 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

Specs

t() ::
  %GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Recommendation{
    additionalImpact:
      [
        GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t()
      ]
      | nil,
    associatedInsights:
      [
        GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationInsightReference.t()
      ]
      | nil,
    content:
      GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationContent.t()
      | nil,
    description: String.t() | nil,
    etag: String.t() | nil,
    lastRefreshTime: DateTime.t() | nil,
    name: String.t() | nil,
    primaryImpact:
      GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1Impact.t()
      | nil,
    priority: String.t() | nil,
    recommenderSubtype: String.t() | nil,
    stateInfo:
      GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1RecommendationStateInfo.t()
      | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.