Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1PurchasableSku
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1PurchasableSku
- 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 can be used for a puchase. This is used in ListPurchasableSku API response.
Instance Attribute Summary collapse
-
#sku ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku
Represents a product's purchasable Stock Keeping Unit (SKU).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1PurchasableSku
constructor
A new instance of GoogleCloudChannelV1PurchasableSku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1PurchasableSku
Returns a new instance of GoogleCloudChannelV1PurchasableSku.
1885 1886 1887 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sku ⇒ 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.
Corresponds to the JSON property sku
1883 1884 1885 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1883 def sku @sku end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1890 1891 1892 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1890 def update!(**args) @sku = args[:sku] if args.key?(:sku) end |