Package types (1.3.0)

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. .. attribute:: threat_type

The ThreatList to update.

:type: google.cloud.webrisk_v1beta1.types.ThreatType

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. .. attribute:: indices

The indices to remove from a lexicographically-sorted local list.

:type: Sequence[int]

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. .. attribute:: uri

Required. The URI to be checked for matches.

:type: str

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. .. attribute:: raw_indices

The raw removal indices for a local list.

:type: google.cloud.webrisk_v1beta1.types.RawIndices

ThreatType

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