Class CostProjection (2.5.0)

public sealed class CostProjection : IMessage<CostProjection>, IEquatable<CostProjection>, IDeepCloneable<CostProjection>, IBufferMessage, IMessage

Contains metadata about how much money a recommendation can save or incur.

Inheritance

Object > CostProjection

Namespace

Google.Cloud.Recommender.V1

Assembly

Google.Cloud.Recommender.V1.dll

Constructors

CostProjection()

public CostProjection()

CostProjection(CostProjection)

public CostProjection(CostProjection other)
Parameter
NameDescription
otherCostProjection

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.

Property Value
TypeDescription
Money

Duration

public Duration Duration { get; set; }

Duration for which this cost applies.

Property Value
TypeDescription
Duration