class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku

Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs.

Attributes

marketing_info[RW]

Represents the marketing information for a Product, SKU or Offer. Corresponds to the JSON property `marketingInfo` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1MarketingInfo]

name[RW]

Resource Name of the SKU. Format: products/`product_id`/skus/`sku_id` Corresponds to the JSON property `name` @return [String]

product[RW]

A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc. Corresponds to the JSON property `product` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Product]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 2050
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 2055
def update!(**args)
  @marketing_info = args[:marketing_info] if args.key?(:marketing_info)
  @name = args[:name] if args.key?(:name)
  @product = args[:product] if args.key?(:product)
end