Class ThreatEntryAdditions (1.5.0)

ThreatEntryAdditions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
raw_hashes Sequence[google.cloud.webrisk_v1.types.RawHashes]
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
rice_hashes google.cloud.webrisk_v1.types.RiceDeltaEncoding
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.