# Package Classes (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 Summary of entries of Classes for webrisk.

## Classes

### [WebRiskServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient)

Web Risk API defines an interface to detect malicious URLs on
your website and in client applications.

### [WebRiskServiceClient](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient)

Web Risk API defines an interface to detect malicious URLs on
your website and in client applications.

### [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.

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

The constraints for this diff.

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

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

The expected state of a client's local database.

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

The type of response sent to the client.

### [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)

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

Contains threat information on a matching hash.

### [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)

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

Contains threat information on a matching uri.

### [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.

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

Enum that represents the state of the 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.

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

Platform types.

### [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.

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

The abuse type found on the URI.

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

Confidence that a URI is unsafe.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

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

Enum representation of confidence.

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

Context about why the URI is unsafe.

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

Labels that explain how the URI was classified.

### [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.

### [WebRiskServiceV1Beta1AsyncClient](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient)

Web Risk v1beta1 API defines an interface to detect malicious
URLs on your website and in client applications.

### [WebRiskServiceV1Beta1Client](https://docs.cloud.google.com/python/docs/reference/webrisk/latest/google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client)

Web Risk v1beta1 API defines an interface to detect malicious
URLs on your website and in client applications.

### [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.

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

The constraints for this diff.

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

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

The expected state of a client's local database.

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

The type of response sent to the client.

### [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)

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

Contains threat information on a matching hash.

### [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)

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

Contains threat information on a matching uri.

### [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.