class Google::Apis::GamesV1::AchievementRevealResponse
An achievement reveal response
Attributes
current_state[RW]
The current state of the achievement for which a reveal was attempted. This might be `UNLOCKED` if the achievement was already unlocked. Corresponds to the JSON property `currentState` @return [String]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementRevealResponse`. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 203 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 208 def update!(**args) @current_state = args[:current_state] if args.key?(:current_state) @kind = args[:kind] if args.key?(:kind) end