Class PricingInfo (1.0.0)

PricingInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
effective_time .timestamp.Timestamp
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.
summary str
An optional human readable summary of the pricing information, has a maximum length of 256 characters.
pricing_expression .cloud_catalog.PricingExpression
Expresses the pricing formula. See PricingExpression for an example.
aggregation_info .cloud_catalog.AggregationInfo
Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.
currency_conversion_rate float
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

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.