Google Cloud Recommender v1 API - Class CostProjection (3.7.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
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

CostInLocalCurrency

public Money CostInLocalCurrency { get; set; }

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

Property Value
Type Description
Money

Duration

public Duration Duration { get; set; }

Duration for which this cost applies.

Property Value
Type Description
Duration