Class: Google::Cloud::Recommender::V1::CostProjection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recommender/v1/recommendation.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#cost::Google::Type::Money

Returns 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.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

Returns:

  • (::Google::Type::Money)

    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.

    A user's permissions may affect whether the cost is computed using list prices or custom contract prices.



270
271
272
273
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 270

class CostProjection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#cost_in_local_currency::Google::Type::Money

Returns The approximate cost savings in the billing account's local currency.

Returns:



270
271
272
273
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 270

class CostProjection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#duration::Google::Protobuf::Duration

Returns Duration for which this cost applies.

Returns:



270
271
272
273
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 270

class CostProjection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end