ListLeaderboardScoresResponse
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"kind": string,
"nextPageToken": string,
"prevPageToken": string,
"numScores": string,
"playerScore": {
object (LeaderboardEntry )
},
"items": [
{
object (LeaderboardEntry )
}
]
} |
フィールド |
kind |
string
このリソースのタイプを一意に識別します。値は常に固定文字列 games#leaderboardScores です。
|
nextPageToken |
string
次のページの結果のページ設定トークン。
|
prevPageToken |
string
前のページの結果のページ設定トークン。
|
numScores |
string (int64 format)
リーダーボードのスコアの合計数。
|
playerScore |
object (LeaderboardEntry )
リクエストしたプレーヤーのリーダーボード上のスコア。プレーヤーのスコアは、この画面と上記のスコアのリストの両方に表示されます。公開リーダーボードを表示していて、プレーヤーがゲームプレイ情報を一般公開していない場合、scoreRank と formattedScoreRank の値は表示されません。
|
items[] |
object (LeaderboardEntry )
リーダーボードのスコア。
|
LeaderboardEntry
JSON 表現 |
{
"kind": string,
"player": {
object (Player )
},
"scoreRank": string,
"formattedScoreRank": string,
"scoreValue": string,
"formattedScore": string,
"timeSpan": enum (ScoreTimeSpan ),
"writeTimestampMillis": string,
"scoreTag": string
} |
フィールド |
kind |
string
このリソースのタイプを一意に識別します。値は常に固定文字列 games#leaderboardEntry です。
|
player |
object (Player )
このスコアを保持しているプレーヤー。
|
scoreRank |
string (int64 format)
このリーダーボードでのこのスコアの順位。
|
formattedScoreRank |
string
このリーダーボードのこのスコアのランクのローカライズされた文字列。
|
scoreValue |
string (int64 format)
このスコアの数値。
|
formattedScore |
string
このスコアの数値をローカライズした文字列。
|
timeSpan |
enum (ScoreTimeSpan )
このハイスコアの期間。
|
writeTimestampMillis |
string (int64 format)
このスコアが記録されたタイムスタンプ(UTC エポックからのミリ秒単位)。
|
scoreTag |
string
スコアに関する追加情報。値には、RFC 3986 の第 2.3 節で定義されている URI セーフ文字を 64 文字以内で指定する必要があります。
|
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-26 UTC。"],[],[],null,["# ListLeaderboardScoresResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [LeaderboardEntry](#LeaderboardEntry)\n - [JSON representation](#LeaderboardEntry.SCHEMA_REPRESENTATION)\n\nA ListScores response.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"nextPageToken\": string, \"prevPageToken\": string, \"numScores\": string, \"playerScore\": { object (/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) }, \"items\": [ { object (/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) } ] } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardScores`. |\n| `nextPageToken` | `string` The pagination token for the next page of results. |\n| `prevPageToken` | `string` The pagination token for the previous page of results. |\n| `numScores` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The total number of scores in the leaderboard. |\n| `playerScore` | `object (`[LeaderboardEntry](/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the `scoreRank`and `formattedScoreRank` values will not be present. |\n| `items[]` | `object (`[LeaderboardEntry](/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The scores in the leaderboard. |\n\nLeaderboardEntry\n----------------\n\nThe Leaderboard Entry resource.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"player\": { object (/games/services/web/api/rest/v1/players#Player) }, \"scoreRank\": string, \"formattedScoreRank\": string, \"scoreValue\": string, \"formattedScore\": string, \"timeSpan\": enum (/games/services/web/api/rest/v1/scores#ScoreTimeSpan), \"writeTimestampMillis\": string, \"scoreTag\": string } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardEntry`. |\n| `player` | `object (`[Player](/games/services/web/api/rest/v1/players#Player)`)` The player who holds this score. |\n| `scoreRank` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The rank of this score for this leaderboard. |\n| `formattedScoreRank` | `string` The localized string for the rank of this score for this leaderboard. |\n| `scoreValue` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The numerical value of this score. |\n| `formattedScore` | `string` The localized string for the numerical value of this score. |\n| `timeSpan` | `enum (`[ScoreTimeSpan](/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time span of this high score. |\n| `writeTimestampMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. |\n| `scoreTag` | `string` Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. |"]]