Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition
- 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
A condition that applies the override if a line item SKU is found in the SKU group.
Instance Attribute Summary collapse
-
#sku_group ⇒ String
Specifies a SKU group (https://cloud.google.com/skus/sku-groups).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroupCondition
constructor
A new instance of GoogleCloudChannelV1SkuGroupCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroupCondition
Returns a new instance of GoogleCloudChannelV1SkuGroupCondition.
3334 3335 3336 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3334 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sku_group ⇒ String
Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource
name of SKU group. Format: accounts/account
/skuGroups/sku_group
. Example: "
accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
Corresponds to the JSON property skuGroup
3332 3333 3334 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3332 def sku_group @sku_group end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3339 3340 3341 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3339 def update!(**args) @sku_group = args[:sku_group] if args.key?(:sku_group) end |