class Google::Apis::GamesV1::AchievementUpdateMultipleResponse

This is a JSON template for an achievement unlock response.

Attributes

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateListResponse. Corresponds to the JSON property `kind` @return [String]

updated_achievements[RW]

The updated state of the achievements. Corresponds to the JSON property `updatedAchievements` @return [Array<Google::Apis::GamesV1::UpdateAchievementResponse>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 327
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 332
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @updated_achievements = args[:updated_achievements] if args.key?(:updated_achievements)
end