google_api_games v0.12.0 GoogleApi.Games.V1.Model.AchievementUpdateRequest View Source
This is a JSON template for a request to update an achievement.
Attributes
achievementId
(type:String.t
, default:nil
) - The achievement this update is being applied to.incrementPayload
(type:GoogleApi.Games.V1.Model.GamesAchievementIncrement.t
, default:nil
) - The payload if an update of type INCREMENT was requested for the achievement.kind
(type:String.t
, default:games#achievementUpdateRequest
) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest.setStepsAtLeastPayload
(type:GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t
, default:nil
) - The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement.updateType
(type:String.t
, default:nil
) - The type of update being applied. Possible values are:- "REVEAL" - Achievement is revealed.
- "UNLOCK" - Achievement is unlocked.
- "INCREMENT" - Achievement is incremented.
- "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the passed value.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Games.V1.Model.AchievementUpdateRequest{ achievementId: String.t(), incrementPayload: GoogleApi.Games.V1.Model.GamesAchievementIncrement.t(), kind: String.t(), setStepsAtLeastPayload: GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t(), updateType: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.