class Google::Apis::GamesManagementV1management::AchievementResetResponse
This is a JSON template for an achievement reset response.
Attributes
The current state of the achievement. This is the same as the initial state of the achievement. Possible values are:
-
“HIDDEN”- Achievement is hidden.
-
“REVEALED” - Achievement is revealed.
-
“UNLOCKED” - Achievement is unlocked.
Corresponds to the JSON property `currentState` @return [String]
The ID of an achievement for which player state has been updated. Corresponds to the JSON property `definitionId` @return [String]
Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetResponse. Corresponds to the JSON property `kind` @return [String]
Flag to indicate if the requested update actually occurred. Corresponds to the JSON property `updateOccurred` @return [Boolean]
Flag to indicate if the requested update actually occurred. Corresponds to the JSON property `updateOccurred` @return [Boolean]
Public Class Methods
# File generated/google/apis/games_management_v1management/classes.rb, line 108 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_management_v1management/classes.rb, line 113 def update!(**args) @current_state = args[:current_state] if args.key?(:current_state) @definition_id = args[:definition_id] if args.key?(:definition_id) @kind = args[:kind] if args.key?(:kind) @update_occurred = args[:update_occurred] if args.key?(:update_occurred) end