# 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_v1.types` package.

## Classes

### [CompressionType](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1.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_v1.types.ComputeThreatListDiffRequest)

Describes an API diff request.

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

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

Request to send a potentially phishy URI to WebRisk.

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

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

Request to check URI entries against threatLists.

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

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

Wraps a URI that might be displaying malicious content.

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

Metadata for the Submit URI long-running operation.

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

Request to send a potentially malicious URI to WebRisk.

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

Details about how the threat was discovered.

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

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

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

Context about the submission including the type of abuse
found on the URI and supporting details.

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

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