Class: Google::Apis::GamesV1::AchievementUpdateMultipleResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb

Overview

Response message for UpdateMultipleAchievements rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AchievementUpdateMultipleResponse

Returns a new instance of AchievementUpdateMultipleResponse.



317
318
319
# File 'generated/google/apis/games_v1/classes.rb', line 317

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateMultipleResponse. Corresponds to the JSON property kind

Returns:

  • (String)


310
311
312
# File 'generated/google/apis/games_v1/classes.rb', line 310

def kind
  @kind
end

#updated_achievementsArray<Google::Apis::GamesV1::UpdateAchievementResponse>

The updated state of the achievements. Corresponds to the JSON property updatedAchievements



315
316
317
# File 'generated/google/apis/games_v1/classes.rb', line 315

def updated_achievements
  @updated_achievements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



322
323
324
325
# File 'generated/google/apis/games_v1/classes.rb', line 322

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @updated_achievements = args[:updated_achievements] if args.key?(:updated_achievements)
end