Scores: resetMultipleForAllPlayers
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
認証が必要です
指定された ID のリーダーボードのスコアをすべてのプレーヤーに対してリセットします。この方法は、デベロッパー コンソールのユーザー アカウントでのみ使用できます。リセットできるのは下書きのリーダーボードのみです。
リクエスト
HTTP リクエスト
POST https://www.googleapis.com/games/v1management/scores/resetMultipleForAllPlayers
承認
このリクエストには、次のスコープによる認証が必要です(認証と承認の詳細をご確認ください)。
範囲 |
https://www.googleapis.com/auth/games |
リクエストの本文
リクエストの本文には、以下の構造を使用してデータを指定してください。
{
"kind": "gamesManagement#scoresResetMultipleForAllRequest",
"leaderboard_ids": [
string
]
}
プロパティ名 |
値 |
説明 |
備考 |
kind |
string |
このリソースのタイプを一意に識別します。値は常に固定文字列 gamesManagement#scoresResetMultipleForAllRequest です。 |
|
leaderboard_ids[] |
list |
リセットするリーダーボードの ID。 |
|
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# Scores: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/scores/resetMultipleForAllPlayers\n```\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/accounts/docs/OAuth2)).\n\n| Scope |\n|-----------------------------------------|\n| `https://www.googleapis.com/auth/games` |\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```scdoc\n{\n \"kind\": \"gamesManagement#scoresResetMultipleForAllRequest\",\n \"leaderboard_ids\": [\n string\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#scoresResetMultipleForAllRequest`. | |\n| `leaderboard_ids[]` | `list` | The IDs of leaderboards to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]