Class Google::Cloud::Recommender::V1::CostProjection (v0.8.6)

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

#cost=

def cost=(value) -> ::Google::Type::Money
Parameter
  • 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.
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.

#duration

def duration() -> ::Google::Protobuf::Duration
Returns

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns