Package types

API documentation for webrisk_v1beta1.types package.

Classes

CompressionType

The ways in which threat entry sets can be compressed.

ComputeThreatListDiffRequest

Describes an API diff request.

ComputeThreatListDiffResponse

RawHashes

The uncompressed threat entries in hash format. 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 URI.

Used for sending ThreatEntryAdditons to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.

RawIndices

A set of raw indices to remove from a local list.

RiceDeltaEncoding

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.

SearchHashesRequest

Request to return full hashes matched by the provided hash prefixes.

SearchHashesResponse

SearchUrisRequest

Request to check URI entries against threatLists.

SearchUrisResponse

ThreatEntryAdditions

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

ThreatEntryRemovals

Contains the set of entries to remove from a local database.

ThreatType

The type of threat. This maps dirrectly to the threat list a threat may belong to.