ThreatInfo
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Die Informationen zu einer oder mehreren Bedrohungen, die ein Client sendet, wenn er in Bedrohungslisten nach Übereinstimmungen sucht.
Felder |
threatTypes[] |
enum (ThreatType )
Die zu prüfenden Bedrohungstypen.
|
platformTypes[] |
enum (PlatformType )
Die zu prüfenden Plattformtypen.
|
threatEntryTypes[] |
enum (ThreatEntryType )
Die Eintragstypen, die geprüft werden sollen.
|
threatEntries[] |
object (ThreatEntry )
Die zu prüfenden Bedrohungseinträge.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]