class Google::Apis::GamesV1::LeaderboardScores
This is a JSON template for a ListScores response.
Attributes
The scores in the leaderboard. Corresponds to the JSON property `items` @return [Array<Google::Apis::GamesV1::LeaderboardEntry>]
Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScores. Corresponds to the JSON property `kind` @return [String]
The pagination token for the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]
The total number of scores in the leaderboard. Corresponds to the JSON property `numScores` @return [String]
This is a JSON template for the Leaderboard Entry resource. Corresponds to the JSON property `playerScore` @return [Google::Apis::GamesV1::LeaderboardEntry]
The pagination token for the previous page of results. Corresponds to the JSON property `prevPageToken` @return [String]
Public Class Methods
# File generated/google/apis/games_v1/classes.rb, line 1678 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 1683 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @num_scores = args[:num_scores] if args.key?(:num_scores) @player_score = args[:player_score] if args.key?(:player_score) @prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token) end