class Google::Apis::GamesV1::AchievementIncrementResponse
An achievement increment response
Attributes
current_steps[RW]
The current steps recorded for this incremental achievement. Corresponds to the JSON property `currentSteps` @return [Fixnum]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementIncrementResponse`. Corresponds to the JSON property `kind` @return [String]
newly_unlocked[RW]
Whether the current steps for the achievement has reached the number of steps required to unlock. Corresponds to the JSON property `newlyUnlocked` @return [Boolean]
newly_unlocked?[RW]
Whether the current steps for the achievement has reached the number of steps required to unlock. Corresponds to the JSON property `newlyUnlocked` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 175 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 180 def update!(**args) @current_steps = args[:current_steps] if args.key?(:current_steps) @kind = args[:kind] if args.key?(:kind) @newly_unlocked = args[:newly_unlocked] if args.key?(:newly_unlocked) end