Recommender V1 API - Class Google::Cloud::Recommender::V1::SustainabilityProjection (v0.15.0)

Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::SustainabilityProjection.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#duration

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

#duration=

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

#kg_c_o2e

def kg_c_o2e() -> ::Float
Returns
  • (::Float) — Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).

#kg_c_o2e=

def kg_c_o2e=(value) -> ::Float
Parameter
  • value (::Float) — Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
Returns
  • (::Float) — Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).