Class: Google::Apis::GamesV1::ListPlayerScoreResponse
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::ListPlayerScoreResponse
- 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
A list of score submission statuses.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#submitted_scores ⇒ Array<Google::Apis::GamesV1::PlayerScoreResponse>
The score submissions statuses.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPlayerScoreResponse
constructor
A new instance of ListPlayerScoreResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPlayerScoreResponse
Returns a new instance of ListPlayerScoreResponse.
2215 2216 2217 |
# File 'generated/google/apis/games_v1/classes.rb', line 2215 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#playerScoreListResponse
.
Corresponds to the JSON property kind
2208 2209 2210 |
# File 'generated/google/apis/games_v1/classes.rb', line 2208 def kind @kind end |
#submitted_scores ⇒ Array<Google::Apis::GamesV1::PlayerScoreResponse>
The score submissions statuses.
Corresponds to the JSON property submittedScores
2213 2214 2215 |
# File 'generated/google/apis/games_v1/classes.rb', line 2213 def submitted_scores @submitted_scores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2220 2221 2222 2223 |
# File 'generated/google/apis/games_v1/classes.rb', line 2220 def update!(**args) @kind = args[:kind] if args.key?(:kind) @submitted_scores = args[:submitted_scores] if args.key?(:submitted_scores) end |