Sku(mapping=None, *, ignore_unknown_fields=False, **kwargs)Message describing the Sku resource.
Encapsulates and represents a stock keeping unit (SKU), the atomic
unit of pricing and billing in Google Cloud. Each customer charge is
associated with and originates from exactly one SKU. While the Cloud
Marketplace Sku resource shares a close relationship with the public
Sku resource in the Cloud Billing
API <https://cloud.google.com/billing/docs/how-to/get-pricing-information-api>,
Cloud Marketplace SKUs are represented here with additional
information in an alternative format tailored for use by Cloud
Marketplace partners, and are not necessarily public and by
extension are not generally visible in the Cloud Billing API or the
Google Cloud Public SKUs <https://cloud.google.com/skus>.
Note on terminology: While the name of the resource derives from the acronym 'SKU' it is named 'Sku' for consistency with other resource type names, and may be rendered variously as 'Sku', 'sku', or 'SKU' across this and other documentation.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Output only. Identifier. Name of the SKU. |
description |
str
Output only. Description of the SKU. |
sku_price_timeline |
MutableSequence[google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice]
Output only. Timeline of the SKU prices, in chronological order by effective_time.
Each entry is active in the time range starting inclusively
from the entry's effective_time and ending exclusively
at the next entry's effective_time, if one exists, or
else remaining active indefinitely if it is the final entry.
The currently active entry is the entry with the latest
effective_time that is in the past. Because of scheduled
future price changes the currently active entry may not be
the last entry in the timeline. A SKU does not necessarily
have a currently active entry, as the SKU's first timeline
entry may have an effective_time in the future.
|
Classes
SkuPrice
SkuPrice(mapping=None, *, ignore_unknown_fields=False, **kwargs)The price of the SKU, active during a particular time range. Prices are in all cases in USD. Customers are billed in the currency of their billing account, subject to the currency conversion rate in effect at the time.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields