ClientInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลเมตาของไคลเอ็นต์ที่เชื่อมโยงกับคำขอ API ของ Google Safe Browsing
การแสดง JSON |
{
"clientId": string,
"clientVersion": string
} |
ช่อง |
clientId |
string
รหัสไคลเอ็นต์ที่ (หวังว่า) จะระบุการใช้งาน Google Safe Browsing API ของไคลเอ็นต์ได้อย่างไม่ซ้ำกัน
|
clientVersion |
string
เวอร์ชันของการใช้งานไคลเอ็นต์
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eClient metadata, including a unique client ID and version, is sent with Safe Browsing API requests.\u003c/p\u003e\n"],["\u003cp\u003eThis metadata is represented using a JSON object with \u003ccode\u003eclientId\u003c/code\u003e and \u003ccode\u003eclientVersion\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should provide a unique \u003ccode\u003eclientId\u003c/code\u003e to identify their implementation and \u003ccode\u003eclientVersion\u003c/code\u003e to specify the version being used.\u003c/p\u003e\n"]]],["The provided JSON represents client metadata for Safe Browsing API requests. It includes two key fields: `clientId`, a unique string identifying the client implementation, and `clientVersion`, a string indicating the client's version. This data structure, represented as `{\"clientId\": string, \"clientVersion\": string}`, is used to track and identify different clients interacting with the Safe Browsing API.\n"],null,["# ClientInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe client metadata associated with Safe Browsing API requests.\n\n| JSON representation |\n|---------------------------------------------------------|\n| ``` { \"clientId\": string, \"clientVersion\": string } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------|\n| `clientId` | `string` A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API. |\n| `clientVersion` | `string` The version of the client implementation. |"]]