public sealed class SustainabilityProjection : IMessage<SustainabilityProjection>, IEquatable<SustainabilityProjection>, IDeepCloneable<SustainabilityProjection>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Recommender v1 API class SustainabilityProjection.
Contains metadata about how much sustainability a recommendation can save or incur.
Implements
IMessageSustainabilityProjection, IEquatableSustainabilityProjection, IDeepCloneableSustainabilityProjection, IBufferMessage, IMessageNamespace
Google.Cloud.Recommender.V1Assembly
Google.Cloud.Recommender.V1.dll
Constructors
SustainabilityProjection()
public SustainabilityProjection()SustainabilityProjection(SustainabilityProjection)
public SustainabilityProjection(SustainabilityProjection other)| Parameter | |
|---|---|
| Name | Description |
other |
SustainabilityProjection |
Properties
Duration
public Duration Duration { get; set; }Duration for which this sustainability applies.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
KgCO2E
public double KgCO2E { get; set; }Carbon Footprint generated in kg of CO2 equivalent. Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
| Property Value | |
|---|---|
| Type | Description |
double |
|