google_api_recommender v0.4.0 GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1CostProjection View Source

Contains metadata about how much money a recommendation can save or incur.

Attributes

  • cost (type: GoogleApi.Recommender.V1beta1.Model.GoogleTypeMoney.t, default: nil) - An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.
  • duration (type: String.t, default: nil) - Duration for which this cost applies.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() ::
  %GoogleApi.Recommender.V1beta1.Model.GoogleCloudRecommenderV1beta1CostProjection{
    cost: GoogleApi.Recommender.V1beta1.Model.GoogleTypeMoney.t(),
    duration: String.t()
  }

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.