class Google::Apis::GamesV1::AchievementRevealResponse

This is a JSON template for 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. Possible values are:

  • “REVEALED” - Achievement is revealed.

  • “UNLOCKED” - Achievement is 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 generated/google/apis/games_v1/classes.rb, line 213
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 218
def update!(**args)
  @current_state = args[:current_state] if args.key?(:current_state)
  @kind = args[:kind] if args.key?(:kind)
end