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
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.
Constructor Details
#initialize(**args) ⇒ ScoresResetMultipleForAllRequest
Returns a new instance of ScoresResetMultipleForAllRequest.
489 490 491 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 489 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
482 483 484 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 482 def kind @kind end |
#leaderboard_ids ⇒ Array<String>
The IDs of leaderboards to reset.
Corresponds to the JSON property leaderboard_ids
487 488 489 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 487 def leaderboard_ids @leaderboard_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
494 495 496 497 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 494 def update!(**args) @kind = args[:kind] if args.key?(:kind) @leaderboard_ids = args[:leaderboard_ids] if args.key?(:leaderboard_ids) end |