Class: Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
- 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
A list of leaderboard reset resources.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#results ⇒ Array<Google::Apis::GamesManagementV1management::PlayerScoreResetResponse>
The leaderboard reset results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlayerScoreResetAllResponse
constructor
A new instance of PlayerScoreResetAllResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlayerScoreResetAllResponse
Returns a new instance of PlayerScoreResetAllResponse.
402 403 404 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 402 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#playerScoreResetAllResponse
.
Corresponds to the JSON property kind
395 396 397 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 395 def kind @kind end |
#results ⇒ Array<Google::Apis::GamesManagementV1management::PlayerScoreResetResponse>
The leaderboard reset results.
Corresponds to the JSON property results
400 401 402 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 400 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
407 408 409 410 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 407 def update!(**args) @kind = args[:kind] if args.key?(:kind) @results = args[:results] if args.key?(:results) end |