class Google::Apis::GamesV1::ApplicationCategory

This is a JSON template for an application category object.

Attributes

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#applicationCategory. Corresponds to the JSON property `kind` @return [String]

primary[RW]

The primary category. Corresponds to the JSON property `primary` @return [String]

secondary[RW]

The secondary category. Corresponds to the JSON property `secondary` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 636
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 641
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