google_api_safe_browsing v0.4.0 API Reference
Modules
API calls for all endpoints tagged EncodedFullHashes
.
API calls for all endpoints tagged EncodedUpdates
.
API calls for all endpoints tagged FullHashes
.
API calls for all endpoints tagged ThreatHits
.
API calls for all endpoints tagged ThreatListUpdates
.
API calls for all endpoints tagged ThreatLists
.
API calls for all endpoints tagged ThreatMatches
.
Handle Tesla connections for GoogleApi.SafeBrowsing.V4.
The expected state of a client's local database.
The client metadata associated with Safe Browsing API requests.
The constraints for this update.
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance
Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 5
Attributes
listUpdateResponses
(type:list(GoogleApi.SafeBrowsing.V4.Model.ListUpdateResponse.t)
, default:nil
) - The list updates requested by the clients.minimumWaitDuration
(type:String.t
, default:nil
) - The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.
Request to return full hashes matched by the provided hash prefixes.
Attributes
matches
(type:list(GoogleApi.SafeBrowsing.V4.Model.ThreatMatch.t)
, default:nil
) - The full hashes that matched the requested prefixes.minimumWaitDuration
(type:String.t
, default:nil
) - The minimum duration the client must wait before issuing any find hashes request. If this field is not set, clients can issue a request as soon as they want.negativeCacheDuration
(type:String.t
, default:nil
) - For requested entities that did not match the threat list, how long to cache the response.
Request to check entries against lists.
A single list update request.
An update to an individual list.
A single metadata entry.
The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL.
A set of raw indices to remove from a local list.
The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.
An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.
The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.
A set of threats that should be added or removed from a client's local database.
Attributes
clientInfo
(type:GoogleApi.SafeBrowsing.V4.Model.ClientInfo.t
, default:nil
) - Client-reported identification.entry
(type:GoogleApi.SafeBrowsing.V4.Model.ThreatEntry.t
, default:nil
) - The threat entry responsible for the hit. Full hash should be reported for hash-based hits.platformType
(type:String.t
, default:nil
) - The platform type reported.resources
(type:list(GoogleApi.SafeBrowsing.V4.Model.ThreatSource.t)
, default:nil
) - The resources related to the threat hit.threatType
(type:String.t
, default:nil
) - The threat type reported.userInfo
(type:GoogleApi.SafeBrowsing.V4.Model.UserInfo.t
, default:nil
) - Details about the user that encountered the threat.
The information regarding one or more threats that a client submits when checking for matches in threat lists.
Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.
A match when checking a threat entry in the Safe Browsing threat lists.
A single resource related to a threat hit.
Details about the user that encountered the threat.