View Source GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1Impact (google_api_recommender v0.22.0)

Contains the impact a recommendation can have for a given category.

Attributes

  • category (type: String.t, default: nil) - Category that is being targeted.
  • costProjection (type: GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1CostProjection.t, default: nil) - Use with CategoryType.COST
  • impactComponents (type: list(GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1Impact.t), default: nil) - If populated, the impact contains multiple components. In this case, the top-level impact contains aggregated values and each component contains per-service details.
  • reliabilityProjection (type: GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1ReliabilityProjection.t, default: nil) - Use with CategoryType.RELIABILITY
  • securityProjection (type: GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1SecurityProjection.t, default: nil) - Use with CategoryType.SECURITY
  • service (type: String.t, default: nil) - The service that this impact is associated with.
  • sustainabilityProjection (type: GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1SustainabilityProjection.t, default: nil) - Use with CategoryType.SUSTAINABILITY

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1Impact{
  category: String.t() | nil,
  costProjection:
    GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1CostProjection.t()
    | nil,
  impactComponents: [t()] | nil,
  reliabilityProjection:
    GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1ReliabilityProjection.t()
    | nil,
  securityProjection:
    GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1SecurityProjection.t()
    | nil,
  service: String.t() | nil,
  sustainabilityProjection:
    GoogleApi.Recommender.V1.Model.GoogleCloudRecommenderV1SustainabilityProjection.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.