Class: Google::Apis::GamesV1::PlayerScoreSubmissionList

Inherits:
Object
  • Object
show all
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 requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlayerScoreSubmissionList

Returns a new instance of PlayerScoreSubmissionList.



2295
2296
2297
# File 'generated/google/apis/games_v1/classes.rb', line 2295

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreSubmissionList. Corresponds to the JSON property kind

Returns:

  • (String)


2288
2289
2290
# File 'generated/google/apis/games_v1/classes.rb', line 2288

def kind
  @kind
end

#scoresArray<Google::Apis::GamesV1::ScoreSubmission>

The score submissions. Corresponds to the JSON property scores



2293
2294
2295
# File 'generated/google/apis/games_v1/classes.rb', line 2293

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2300
2301
2302
2303
# File 'generated/google/apis/games_v1/classes.rb', line 2300

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @scores = args[:scores] if args.key?(:scores)
end