Class: Google::Cloud::Recommender::V1::SustainabilityProjection
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::SustainabilityProjection
- 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
-
#duration ⇒ ::Google::Protobuf::Duration
Duration for which this sustainability applies.
-
#kg_c_o2e ⇒ ::Float
Carbon Footprint generated in kg of CO2 equivalent.
Instance Attribute Details
#duration ⇒ ::Google::Protobuf::Duration
Returns Duration for which this sustainability applies.
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).
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 |