Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1PurchasableSku

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

SKU that you can purchase. This is used in ListPurchasableSku API response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1PurchasableSku

Returns a new instance of GoogleCloudChannelV1PurchasableSku.



2090
2091
2092
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2090

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#skuGoogle::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. Corresponds to the JSON property sku



2088
2089
2090
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2088

def sku
  @sku
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2095
2096
2097
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2095

def update!(**args)
  @sku = args[:sku] if args.key?(:sku)
end