A match when checking a threat entry in the Safe Browsing threat lists.
JSON representation | |
---|---|
{ "threatType": enum ( |
Fields | |
---|---|
threatType |
The threat type matching this threat. |
platformType |
The platform type matching this threat. |
threatEntryType |
The threat entry type matching this threat. |
threat |
The threat matching this threat. |
threatEntryMetadata |
Optional metadata associated with this threat. |
cacheDuration |
The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives. A duration in seconds with up to nine fractional digits, terminated by ' |
ThreatEntryMetadata
The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.
JSON representation | |
---|---|
{
"entries": [
{
object ( |
Fields | |
---|---|
entries[] |
The metadata entries. |
MetadataEntry
A single metadata entry.
JSON representation | |
---|---|
{ "key": string, "value": string } |
Fields | |
---|---|
key |
The metadata entry key. For JSON requests, the key is base64-encoded. A base64-encoded string. |
value |
The metadata entry value. For JSON requests, the value is base64-encoded. A base64-encoded string. |