public sealed class CostProjection : IMessage<CostProjection>, IEquatable<CostProjection>, IDeepCloneable<CostProjection>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Recommender v1 API class CostProjection.
Contains metadata about how much money a recommendation can save or incur.
Implements
IMessageCostProjection, IEquatableCostProjection, IDeepCloneableCostProjection, IBufferMessage, IMessageNamespace
Google.Cloud.Recommender.V1Assembly
Google.Cloud.Recommender.V1.dll
Constructors
CostProjection()
public CostProjection()
CostProjection(CostProjection)
public CostProjection(CostProjection other)
Parameter | |
---|---|
Name | Description |
other | CostProjection |
Properties
Cost
public Money Cost { get; set; }
An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.
A user's permissions may affect whether the cost is computed using list prices or custom contract prices.
Property Value | |
---|---|
Type | Description |
Money |
Duration
public Duration Duration { get; set; }
Duration for which this cost applies.
Property Value | |
---|---|
Type | Description |
Duration |