Google Cloud Billing v1 API - Class PricingInfo (3.7.0)

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

Reference documentation and code samples for the Google Cloud Billing v1 API class PricingInfo.

Represents the pricing information for a SKU at a single point of time.

Inheritance

object > PricingInfo

Namespace

Google.Cloud.Billing.V1

Assembly

Google.Cloud.Billing.V1.dll

Constructors

PricingInfo()

public PricingInfo()

PricingInfo(PricingInfo)

public PricingInfo(PricingInfo other)
Parameter
Name Description
other PricingInfo

Properties

AggregationInfo

public AggregationInfo AggregationInfo { get; set; }

Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.

Property Value
Type Description
AggregationInfo

CurrencyConversionRate

public double CurrencyConversionRate { get; set; }

Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY

Property Value
Type Description
double

EffectiveTime

public Timestamp EffectiveTime { get; set; }

The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.

Property Value
Type Description
Timestamp

PricingExpression

public PricingExpression PricingExpression { get; set; }

Expresses the pricing formula. See PricingExpression for an example.

Property Value
Type Description
PricingExpression

Summary

public string Summary { get; set; }

An optional human readable summary of the pricing information, has a maximum length of 256 characters.

Property Value
Type Description
string