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.



2899
2900
2901
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2899

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)


2897
2898
2899
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2897

def sku_group
  @sku_group
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2904
2905
2906
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2904

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