Namespace Google.Apis.Safebrowsing.v5.Data
Classes
GoogleSecuritySafebrowsingV5FullHash
The full hash identified with one or more matches.
GoogleSecuritySafebrowsingV5FullHashFullHashDetail
Details about a matching full hash. An important note about forward compatibility: new threat types and threat
attributes may be added by the server at any time; those additions are considered minor version changes. It is
Google's policy not to expose minor version numbers in APIs (see https://cloud.google.com/apis/design/versioning
for the versioning policy), so clients MUST be prepared to receive FullHashDetail
messages containing
ThreatType
enum values or ThreatAttribute
enum values that are considered invalid by the client. Therefore,
it is the client's responsibility to check for the validity of all ThreatType
and ThreatAttribute
enum
values; if any value is considered invalid, the client MUST disregard the entire FullHashDetail
message.
GoogleSecuritySafebrowsingV5SearchHashesResponse
The response returned after searching threat hashes. If nothing is found, the server will return an OK status
(HTTP status code 200) with the full_hashes
field empty, rather than returning a NOT_FOUND status (HTTP status
code 404). What's new in V5: There is a separation between FullHash
and FullHashDetail
. In the case when
a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does
not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single
cache_duration
field.