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.



3294
3295
3296
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3294

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)


3292
3293
3294
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3292

def sku_group
  @sku_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3299
3300
3301
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3299

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