ThreatInfo
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลเกี่ยวกับภัยคุกคามอย่างน้อย 1 รายการที่ลูกค้าส่งเมื่อตรวจสอบการจับคู่ที่ตรงกันในรายการภัยคุกคาม
ช่อง |
threatTypes[] |
enum (ThreatType )
ประเภทภัยคุกคามที่ต้องตรวจสอบ
|
platformTypes[] |
enum (PlatformType )
ประเภทแพลตฟอร์มที่จะตรวจสอบ
|
threatEntryTypes[] |
enum (ThreatEntryType )
ประเภทรายการที่ต้องตรวจสอบ
|
threatEntries[] |
object (ThreatEntry )
รายการภัยคุกคามที่ต้องตรวจสอบ
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003e\u003ccode\u003eThreatInfo\u003c/code\u003e describes the threats a client wants to check against threat lists, including threat types, platform types, and threat entry types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ethreatEntries\u003c/code\u003e field contains a list of \u003ccode\u003eThreatEntry\u003c/code\u003e objects that provide details about the specific threats being checked.\u003c/p\u003e\n"],["\u003cp\u003eClients use \u003ccode\u003eThreatInfo\u003c/code\u003e to specify the parameters of their threat checks when interacting with the Safe Browsing API.\u003c/p\u003e\n"]]],["Clients submit threat information to check for matches in threat lists. This information, represented in JSON, includes four key fields: `threatTypes`, specifying the types of threats; `platformTypes`, indicating the relevant platforms; `threatEntryTypes`, defining the types of entries; and `threatEntries`, listing the specific entries to be checked. Each of the types are defined in an enum. These parameters collectively determine the scope and nature of the threat list check.\n"],null,["# ThreatInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe information regarding one or more threats that a client submits when checking for matches in threat lists.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"threatTypes\": [ enum (/safe-browsing/reference/rest/v4/ThreatType) ], \"platformTypes\": [ enum (/safe-browsing/reference/rest/v4/PlatformType) ], \"threatEntryTypes\": [ enum (/safe-browsing/reference/rest/v4/ThreatEntryType) ], \"threatEntries\": [ { object (/safe-browsing/reference/rest/v4/ThreatEntry) } ] } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------|\n| `threatTypes[]` | `enum (`[ThreatType](/safe-browsing/reference/rest/v4/ThreatType)`)` The threat types to be checked. |\n| `platformTypes[]` | `enum (`[PlatformType](/safe-browsing/reference/rest/v4/PlatformType)`)` The platform types to be checked. |\n| `threatEntryTypes[]` | `enum (`[ThreatEntryType](/safe-browsing/reference/rest/v4/ThreatEntryType)`)` The entry types to be checked. |\n| `threatEntries[]` | `object (`[ThreatEntry](/safe-browsing/reference/rest/v4/ThreatEntry)`)` The threat entries to be checked. |"]]