# Package types (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.0 1.15.1 1.14.5 1.13.0 1.12.1 1.11.1 1.10.1 1.9.0 1.8.4 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.1 0.3.3 0.2.0 API documentation for `webrisk_v1beta1.types` package.

## Classes

### [CompressionType](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.CompressionType)

The ways in which threat entry sets can be compressed.

### [ComputeThreatListDiffRequest](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.ComputeThreatListDiffRequest)

Describes an API diff request.

### [ComputeThreatListDiffResponse](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.ComputeThreatListDiffResponse)

### [RawHashes](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.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](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.RawIndices)

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

### [RiceDeltaEncoding](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.RiceDeltaEncoding)

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

### [SearchHashesRequest](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.SearchHashesRequest)

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

### [SearchHashesResponse](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.SearchHashesResponse)

### [SearchUrisRequest](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.SearchUrisRequest)

Request to check URI entries against threatLists.

### [SearchUrisResponse](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.SearchUrisResponse)

### [ThreatEntryAdditions](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.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](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.ThreatEntryRemovals)

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

### [ThreatType](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.types.ThreatType)

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