public sealed class SustainabilityProjection : IMessage<SustainabilityProjection>, IEquatable<SustainabilityProjection>, IDeepCloneable<SustainabilityProjection>, IBufferMessage, IMessage
Reference 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eSustainabilityProjection\u003c/code\u003e class within the Google Cloud Recommender v1 API, detailing its purpose and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSustainabilityProjection\u003c/code\u003e class is designed to contain metadata regarding the sustainability impact of a recommendation, such as potential savings or incurred costs.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API class is 3.7.0, and there are several prior versions available, all the way back to 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has properties like \u003ccode\u003eDuration\u003c/code\u003e and \u003ccode\u003eKgCO2E\u003c/code\u003e to represent sustainability data.\u003c/p\u003e\n"],["\u003cp\u003eThe SustainabilityProjection class includes two constructors to create new objects, one empty and the other taking a SustainabilityProjection parameter.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Recommender v1 API - Class SustainabilityProjection (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.6.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.5.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.4.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.3.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.2.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.1.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/3.0.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.8.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.7.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.6.0/Google.Cloud.Recommender.V1.SustainabilityProjection)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Recommender.V1/2.5.0/Google.Cloud.Recommender.V1.SustainabilityProjection) \n\n public sealed class SustainabilityProjection : IMessage\u003cSustainabilityProjection\u003e, IEquatable\u003cSustainabilityProjection\u003e, IDeepCloneable\u003cSustainabilityProjection\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Recommender v1 API class SustainabilityProjection.\n\nContains metadata about how much sustainability a recommendation can save or\nincur. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SustainabilityProjection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SustainabilityProjection](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.SustainabilityProjection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SustainabilityProjection](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.SustainabilityProjection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SustainabilityProjection](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.SustainabilityProjection), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Recommender.V1](/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Recommender.V1.dll\n\nConstructors\n------------\n\n### SustainabilityProjection()\n\n public SustainabilityProjection()\n\n### SustainabilityProjection(SustainabilityProjection)\n\n public SustainabilityProjection(SustainabilityProjection other)\n\nProperties\n----------\n\n### Duration\n\n public Duration Duration { get; set; }\n\nDuration for which this sustainability applies.\n\n### KgCO2E\n\n public double KgCO2E { get; set; }\n\nCarbon Footprint generated in kg of CO2 equivalent.\nChose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e)."]]