ThreatInfo
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Es la información sobre una o más amenazas que envía un cliente cuando busca coincidencias en las listas de amenazas.
Campos |
threatTypes[] |
enum (ThreatType )
Los tipos de amenazas que se deben comprobar.
|
platformTypes[] |
enum (PlatformType )
Los tipos de plataformas que se verificarán.
|
threatEntryTypes[] |
enum (ThreatEntryType )
Los tipos de entrada que se deben verificar.
|
threatEntries[] |
object (ThreatEntry )
Las entradas de amenaza que se deben verificar.
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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. |"]]