ThreatInfo
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thông tin về một hoặc nhiều mối đe doạ mà khách hàng gửi khi kiểm tra kết quả trùng khớp trong danh sách mối đe doạ.
Trường |
threatTypes[] |
enum (ThreatType )
Các kiểu mối đe doạ cần kiểm tra.
|
platformTypes[] |
enum (PlatformType )
Các loại nền tảng cần kiểm tra.
|
threatEntryTypes[] |
enum (ThreatEntryType )
Loại mục nhập cần kiểm tra.
|
threatEntries[] |
object (ThreatEntry )
Các mục mối đe doạ cần kiểm tra.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]