safebrowsing/v4 library
Safe Browsing API - v4
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
- EncodedFullHashesResource
- EncodedUpdatesResource
- FullHashesResource
- GoogleSecuritySafebrowsingV4ClientInfo
- The client metadata associated with Safe Browsing API requests.
- GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
- Describes a Safe Browsing API update request.
- GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
- A single list update request.
- GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
- The constraints for this update.
- GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse
- GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse
- An update to an individual list.
- GoogleSecuritySafebrowsingV4FindFullHashesRequest
- Request to return full hashes matched by the provided hash prefixes.
- GoogleSecuritySafebrowsingV4FindFullHashesResponse
- GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
- Request to check entries against lists.
- GoogleSecuritySafebrowsingV4FindThreatMatchesResponse
- GoogleSecuritySafebrowsingV4ListThreatListsResponse
- GoogleSecuritySafebrowsingV4RawHashes
- The uncompressed threat entries in hash format of a particular prefix length.
- GoogleSecuritySafebrowsingV4RiceDeltaEncoding
- The Rice-Golomb encoded data.
- GoogleSecuritySafebrowsingV4ThreatEntry
- An individual threat; for example, a malicious URL or its hash representation.
- GoogleSecuritySafebrowsingV4ThreatEntryMetadata
- The metadata associated with a specific threat entry.
- GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry
- A single metadata entry.
- GoogleSecuritySafebrowsingV4ThreatEntrySet
- A set of threats that should be added or removed from a client's local database.
- GoogleSecuritySafebrowsingV4ThreatHit
- GoogleSecuritySafebrowsingV4ThreatHitThreatSource
- A single resource related to a threat hit.
- GoogleSecuritySafebrowsingV4ThreatHitUserInfo
- Details about the user that encountered the threat.
- GoogleSecuritySafebrowsingV4ThreatInfo
- The information regarding one or more threats that a client submits when checking for matches in threat lists.
- GoogleSecuritySafebrowsingV4ThreatListDescriptor
- Describes an individual threat list.
- GoogleSecuritySafebrowsingV4ThreatMatch
- A match when checking a threat entry in the Safe Browsing threat lists.
- SafebrowsingApi
- Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.
- ThreatHitsResource
- ThreatListsResource
- ThreatListUpdatesResource
- ThreatMatchesResource
Typedefs
- GoogleProtobufEmpty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- GoogleSecuritySafebrowsingV4Checksum = $Checksum
- The expected state of a client's local database.
- GoogleSecuritySafebrowsingV4RawIndices = $RawIndices
- A set of raw indices to remove from a local list.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.