Class: Google::Cloud::Recommender::V1::CostProjection
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::CostProjection
- 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
-
#cost ⇒ ::Google::Type::Money
An approximate projection on amount saved or amount incurred.
-
#cost_in_local_currency ⇒ ::Google::Type::Money
The approximate cost savings in the billing account's local currency.
-
#duration ⇒ ::Google::Protobuf::Duration
Duration for which this cost applies.
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.
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.
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.
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 |