Class: Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_management_v1management/classes.rb,
generated/google/apis/games_management_v1management/representations.rb,
generated/google/apis/games_management_v1management/representations.rb
Overview
This is a JSON template for multiple scores reset all request.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#leaderboard_ids ⇒ Array<String>
The IDs of leaderboards to reset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScoresResetMultipleForAllRequest
constructor
A new instance of ScoresResetMultipleForAllRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ScoresResetMultipleForAllRequest
Returns a new instance of ScoresResetMultipleForAllRequest
555 556 557 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#scoresResetMultipleForAllRequest.
Corresponds to the JSON property kind
548 549 550 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 548 def kind @kind end |
#leaderboard_ids ⇒ Array<String>
The IDs of leaderboards to reset.
Corresponds to the JSON property leaderboard_ids
553 554 555 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 553 def leaderboard_ids @leaderboard_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
560 561 562 563 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 560 def update!(**args) @kind = args[:kind] if args.key?(:kind) @leaderboard_ids = args[:leaderboard_ids] if args.key?(:leaderboard_ids) end |