Class: Google::Cloud::Recommender::V1::SustainabilityProjection

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 sustainability a recommendation can save or incur.

Instance Attribute Summary collapse

Instance Attribute Details

#duration::Google::Protobuf::Duration

Returns Duration for which this sustainability applies.

Returns:



293
294
295
296
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 293

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

#kg_c_o2e::Float

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



293
294
295
296
# File 'proto_docs/google/cloud/recommender/v1/recommendation.rb', line 293

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