Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroupCondition

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

A condition that applies the override if a line item SKU is found in the SKU group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroupCondition

Returns a new instance of GoogleCloudChannelV1SkuGroupCondition.



3267
3268
3269
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3267

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

Instance Attribute Details

#sku_groupString

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

Returns:

  • (String)


3265
3266
3267
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3265

def sku_group
  @sku_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3272
3273
3274
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3272

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