safebrowsing/v5 library
Safe Browsing API - v5
Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
For more information, see developers.google.com/safe-browsing/
Create an instance of SafebrowsingApi to access these resources:
Classes
- GoogleSecuritySafebrowsingV5BatchGetHashListsResponse
- The response containing multiple hash lists.
- GoogleSecuritySafebrowsingV5FullHash
- The full hash identified with one or more matches.
- GoogleSecuritySafebrowsingV5FullHashFullHashDetail
- Details about a matching full hash.
- GoogleSecuritySafebrowsingV5HashList
- A list of hashes identified by its name.
- GoogleSecuritySafebrowsingV5HashListMetadata
- Metadata about a particular hash list.
- GoogleSecuritySafebrowsingV5ListHashListsResponse
- The response containing metadata about hash lists.
- GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit
-
Same as
RiceDeltaEncoded32Bit
except this encodes 128-bit numbers. - GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit
-
Same as
RiceDeltaEncoded32Bit
except this encodes 256-bit numbers. - GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit
- The Rice-Golomb encoded data.
- GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit
-
Same as
RiceDeltaEncoded32Bit
except this encodes 64-bit numbers. - GoogleSecuritySafebrowsingV5SearchHashesResponse
- The response returned after searching threat hashes.
- HashesResource
- HashListResource
- HashListsResource
- SafebrowsingApi
- Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.