class Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse

This is a JSON template for a list of player leaderboard scores.

Attributes

items[RW]

The leaderboard scores. Corresponds to the JSON property `items` @return [Array<Google::Apis::GamesV1::PlayerLeaderboardScore>]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScoreListResponse. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

The pagination token for the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]

player[RW]

This is a JSON template for a Player resource. Corresponds to the JSON property `player` @return [Google::Apis::GamesV1::Player]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 2407
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 2412
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)
  @player = args[:player] if args.key?(:player)
end