Class: Google::Apis::GamesV1::ApplicationCategory
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::ApplicationCategory
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb
Overview
An application category object.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#primary ⇒ String
The primary category.
-
#secondary ⇒ String
The secondary category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationCategory
constructor
A new instance of ApplicationCategory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationCategory
Returns a new instance of ApplicationCategory.
538 539 540 |
# File 'generated/google/apis/games_v1/classes.rb', line 538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#applicationCategory
.
Corresponds to the JSON property kind
526 527 528 |
# File 'generated/google/apis/games_v1/classes.rb', line 526 def kind @kind end |
#primary ⇒ String
The primary category.
Corresponds to the JSON property primary
531 532 533 |
# File 'generated/google/apis/games_v1/classes.rb', line 531 def primary @primary end |
#secondary ⇒ String
The secondary category.
Corresponds to the JSON property secondary
536 537 538 |
# File 'generated/google/apis/games_v1/classes.rb', line 536 def secondary @secondary end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
543 544 545 546 547 |
# File 'generated/google/apis/games_v1/classes.rb', line 543 def update!(**args) @kind = args[:kind] if args.key?(:kind) @primary = args[:primary] if args.key?(:primary) @secondary = args[:secondary] if args.key?(:secondary) end |