Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::CostProjection.
Contains metadata about how much money a recommendation can save or incur.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cost
def cost() -> ::Google::Type::Money- 
        (::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. 
#cost=
def cost=(value) -> ::Google::Type::Money- 
        value (::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. 
- 
        (::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. 
#duration
def duration() -> ::Google::Protobuf::Duration- (::Google::Protobuf::Duration) — Duration for which this cost applies.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration- value (::Google::Protobuf::Duration) — Duration for which this cost applies.
- (::Google::Protobuf::Duration) — Duration for which this cost applies.