NAME

Google::Cloud::Commerceproducer::V1beta::Sku - Compiled Protocol Buffers messages for google/cloud/commerceproducer/v1beta/sku.proto

SYNOPSIS

use Google::Cloud::Commerceproducer::V1beta::Sku;

my $msg = Google::Cloud::Commerceproducer::V1beta::Sku::Sku->new({
    name => $name,
    description => $description,
    sku_price_timeline => $sku_price_timeline,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Commerceproducer::V1beta::Sku::Sku->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/commerceproducer/v1beta/sku.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Commerceproducer::V1beta::Sku::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](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.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Identifier. Name of the SKU.

  • $msg->description() / $msg->description($value)

    Type: String

    Output only. Description of the SKU.

  • $msg->sku_price_timeline() / $msg->sku_price_timeline($value)

    Type: Message (Google::Cloud::Commerceproducer::V1beta::Sku::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.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Commerceproducer::V1beta::Sku::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.