Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1SkuGroup
- 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
-
#display_name ⇒ String
Unique human readable identifier for the SKU group.
-
#name ⇒ String
Resource name of SKU group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroup
constructor
A new instance of GoogleCloudChannelV1SkuGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1SkuGroup
Returns a new instance of GoogleCloudChannelV1SkuGroup.
3311 3312 3313 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Unique human readable identifier for the SKU group.
Corresponds to the JSON property displayName
3303 3304 3305 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3303 def display_name @display_name end |
#name ⇒ String
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
3309 3310 3311 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3309 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3316 3317 3318 3319 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3316 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |