Events: resetMultipleForAllPlayers
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
รีเซ็ตเหตุการณ์ด้วยรหัสที่กำหนดสำหรับผู้เล่นทุกคน วิธีการนี้ใช้ได้เฉพาะกับบัญชีผู้ใช้สำหรับแผงควบคุมสำหรับนักพัฒนาซอฟต์แวร์ของคุณเท่านั้น รีเซ็ตได้เฉพาะกิจกรรมฉบับร่าง
ส่งคำขอ
คำขอ HTTP
POST https://www.googleapis.com/games/v1management/events/resetMultipleForAllPlayers
การให้สิทธิ์
คำขอนี้ต้องได้รับการให้สิทธิ์ตามขอบเขตต่อไปนี้ (อ่านเพิ่มเติมเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/games |
เนื้อหาของคำขอ
ในเนื้อหาคำขอ ให้ข้อมูลในโครงสร้างต่อไปนี้
{
"kind": "gamesManagement#eventsResetMultipleForAllRequest",
"event_ids": [
string
]
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
kind |
string |
ระบุประเภทของทรัพยากรนี้โดยไม่ซ้ำกัน ค่าเป็นสตริงคงที่ gamesManagement#eventsResetMultipleForAllRequest เสมอ |
|
event_ids[] |
list |
รหัสเหตุการณ์ที่จะรีเซ็ต |
|
คำตอบ
หากสำเร็จ เมธอดนี้จะแสดงเนื้อหาการตอบกลับที่ว่างเปล่า
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Events: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/events/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#eventsResetMultipleForAllRequest\",\n \"event_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#eventsResetMultipleForAllRequest`. | |\n| `event_ids[]` | `list` | The IDs of events to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]