Class: Google::Apis::GamesV1::AchievementUpdateMultipleRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::AchievementUpdateMultipleRequest
- 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
This is a JSON template for a list of achievement update requests.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#updates ⇒ Array<Google::Apis::GamesV1::UpdateAchievementRequest>
The individual achievement update requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AchievementUpdateMultipleRequest
constructor
A new instance of AchievementUpdateMultipleRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AchievementUpdateMultipleRequest
Returns a new instance of AchievementUpdateMultipleRequest.
301 302 303 |
# File 'generated/google/apis/games_v1/classes.rb', line 301 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#achievementUpdateMultipleRequest.
Corresponds to the JSON property kind
294 295 296 |
# File 'generated/google/apis/games_v1/classes.rb', line 294 def kind @kind end |
#updates ⇒ Array<Google::Apis::GamesV1::UpdateAchievementRequest>
The individual achievement update requests.
Corresponds to the JSON property updates
299 300 301 |
# File 'generated/google/apis/games_v1/classes.rb', line 299 def updates @updates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
306 307 308 309 |
# File 'generated/google/apis/games_v1/classes.rb', line 306 def update!(**args) @kind = args[:kind] if args.key?(:kind) @updates = args[:updates] if args.key?(:updates) end |