Google Cloud Recommender v1 API - Class CostProjection (3.5.0)

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.

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.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

Property Value
TypeDescription
Money

CostInLocalCurrency

public Money CostInLocalCurrency { get; set; }

The approximate cost savings in the billing account's local currency.

Property Value
TypeDescription
Money

Duration

public Duration Duration { get; set; }

Duration for which this cost applies.

Property Value
TypeDescription
Duration