google_api_games v0.0.1 GoogleApi.Games.V1.Model.AchievementUpdateRequest View Source

This is a JSON template for a request to update an achievement.

Attributes

  • achievementId (String): The achievement this update is being applied to. Defaults to: null.
  • incrementPayload (GamesAchievementIncrement): The payload if an update of type INCREMENT was requested for the achievement. Defaults to: null.
  • kind (String): Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest. Defaults to: null.
  • setStepsAtLeastPayload (GamesAchievementSetStepsAtLeast): The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement. Defaults to: null.
  • updateType (String): 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. Defaults to: null.