Class: Google::Apis::GamesV1::PlayerScoreSubmissionList
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::PlayerScoreSubmissionList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb
Overview
A list of score submission requests.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#scores ⇒ Array<Google::Apis::GamesV1::ScoreSubmission>
The score submissions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlayerScoreSubmissionList
constructor
A new instance of PlayerScoreSubmissionList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlayerScoreSubmissionList
Returns a new instance of PlayerScoreSubmissionList.
2422 2423 2424 |
# File 'lib/google/apis/games_v1/classes.rb', line 2422 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#playerScoreSubmissionList.
Corresponds to the JSON property kind
2415 2416 2417 |
# File 'lib/google/apis/games_v1/classes.rb', line 2415 def kind @kind end |
#scores ⇒ Array<Google::Apis::GamesV1::ScoreSubmission>
The score submissions.
Corresponds to the JSON property scores
2420 2421 2422 |
# File 'lib/google/apis/games_v1/classes.rb', line 2420 def scores @scores end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2427 2428 2429 2430 |
# File 'lib/google/apis/games_v1/classes.rb', line 2427 def update!(**args) @kind = args[:kind] if args.key?(:kind) @scores = args[:scores] if args.key?(:scores) end |