google_api_games v0.5.0 GoogleApi.Games.V1.Model.AchievementUpdateResponse View Source
This is a JSON template for an achievement update response.
Attributes
achievementId
(type:String.t
, default:nil
) - The achievement this update is was applied to.currentState
(type:String.t
, default:nil
) - The current state of the achievement. Possible values are:- "HIDDEN" - Achievement is hidden.
- "REVEALED" - Achievement is revealed.
- "UNLOCKED" - Achievement is unlocked.
currentSteps
(type:integer()
, default:nil
) - The current steps recorded for this achievement if it is incremental.kind
(type:String.t
, default:games#achievementUpdateResponse
) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateResponse.newlyUnlocked
(type:boolean()
, default:nil
) - Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).updateOccurred
(type:boolean()
, default:nil
) - Whether the requested updates actually affected the achievement.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.