Cloud Commerce Producer v1beta API - Class Sku (1.0.0-beta01)

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

Reference documentation and code samples for the Cloud Commerce Producer v1beta API class 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.

Inheritance

object > Sku

Namespace

Google.Cloud.CommerceProducer.V1Beta

Assembly

Google.Cloud.CommerceProducer.V1Beta.dll

Constructors

Sku()

public Sku()

Sku(Sku)

public Sku(Sku other)
Parameter
Name Description
other Sku

Properties

Description

public string Description { get; set; }

Output only. Description of the SKU.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. Identifier. Name of the SKU.

Property Value
Type Description
string

SkuName

public SkuName SkuName { get; set; }

SkuName-typed view over the Name resource name property.

Property Value
Type Description
SkuName

SkuPriceTimeline

public RepeatedField<Sku.Types.SkuPrice> SkuPriceTimeline { get; }

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.

Property Value
Type Description
RepeatedFieldSkuTypesSkuPrice