Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::Sku.
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, 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.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String- (::String) — Output only. Description of the SKU.
#name
def name() -> ::String- (::String) — Output only. Identifier. Name of the SKU.
#sku_price_timeline
def sku_price_timeline() -> ::Array<::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice>-
(::Array<::Google::Cloud::CommerceProducer::V1beta::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_timeand ending exclusively at the next entry'seffective_time, if one exists, or else remaining active indefinitely if it is the final entry. The currently active entry is the entry with the latesteffective_timethat 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 aneffective_timein the future.