Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup

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

Represents the SKU group information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroup

Returns a new instance of GoogleCloudChannelV1SkuGroup.



3239
3240
3241
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3239

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

Instance Attribute Details

#display_nameString

Unique human readable identifier for the SKU group. Corresponds to the JSON property displayName

Returns:

  • (String)


3231
3232
3233
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3231

def display_name
  @display_name
end

#nameString

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 name

Returns:

  • (String)


3237
3238
3239
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3237

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3244
3245
3246
3247
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3244

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