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.

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.



225
226
227
228
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 225

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

#duration::Google::Protobuf::Duration

Returns Duration for which this cost applies.

Returns:



225
226
227
228
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 225

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