class Google::Apis::GamesV1::Category
This is a JSON template for data related to individual game categories.
Attributes
category[RW]
The category name. Corresponds to the JSON property `category` @return [String]
experience_points[RW]
Experience points earned in this category. Corresponds to the JSON property `experiencePoints` @return [String]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string games#category. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 702 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 707 def update!(**args) @category = args[:category] if args.key?(:category) @experience_points = args[:experience_points] if args.key?(:experience_points) @kind = args[:kind] if args.key?(:kind) end