Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuPurchaseGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuPurchaseGroup
- 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
Represents a set of SKUs that must be purchased using the same billing account.
Instance Attribute Summary collapse
-
#billing_account_purchase_infos ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo>
List of billing accounts that are eligible to purhcase these SKUs.
-
#skus ⇒ Array<String>
Resource names of the SKUs included in this group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1SkuPurchaseGroup
constructor
A new instance of GoogleCloudChannelV1SkuPurchaseGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1SkuPurchaseGroup
Returns a new instance of GoogleCloudChannelV1SkuPurchaseGroup.
3359 3360 3361 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_account_purchase_infos ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1BillingAccountPurchaseInfo>
List of billing accounts that are eligible to purhcase these SKUs.
Corresponds to the JSON property billingAccountPurchaseInfos
3351 3352 3353 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3351 def billing_account_purchase_infos @billing_account_purchase_infos end |
#skus ⇒ Array<String>
Resource names of the SKUs included in this group. Format: products/
product_id
/skus/sku_id
.
Corresponds to the JSON property skus
3357 3358 3359 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3357 def skus @skus end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3364 3365 3366 3367 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3364 def update!(**args) @billing_account_purchase_infos = args[:billing_account_purchase_infos] if args.key?(:billing_account_purchase_infos) @skus = args[:skus] if args.key?(:skus) end |