Class: Google::Apis::GamesV1::AchievementUpdateMultipleResponse
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::AchievementUpdateMultipleResponse
- 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
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#updated_achievements ⇒ Array<Google::Apis::GamesV1::UpdateAchievementResponse>
The updated state of the achievements.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AchievementUpdateMultipleResponse
constructor
A new instance of AchievementUpdateMultipleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#achievementUpdateMultipleResponse
.
Corresponds to the JSON property kind
310 311 312 |
# File 'generated/google/apis/games_v1/classes.rb', line 310 def kind @kind end |
#updated_achievements ⇒ Array<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 |