Reference documentation and code samples for the Recommender V1 Client class SustainabilityProjection.
Contains metadata about how much sustainability a recommendation can save or incur.
Generated from protobuf message google.cloud.recommender.v1.SustainabilityProjection
Namespace
Google \ Cloud \ Recommender \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kg_c_o2e
float
Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
↳ duration
getKgCO2E
Carbon Footprint generated in kg of CO2 equivalent.
Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
float
setKgCO2E
Carbon Footprint generated in kg of CO2 equivalent.
Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
var
float
$this
getDuration
Duration for which this sustainability applies.
hasDuration
clearDuration
setDuration
Duration for which this sustainability applies.
$this