# Google Cloud Web Risk v1beta1 API - Class ComputeThreatListDiffRequest.Types.Constraints (3.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints)
- [3.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/3.0.0-beta05/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/2.0.0-beta05/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints)

    public sealed class ComputeThreatListDiffRequest.Types.Constraints : IMessage<ComputeThreatListDiffRequest.Types.Constraints>, IEquatable<ComputeThreatListDiffRequest.Types.Constraints>, IDeepCloneable<ComputeThreatListDiffRequest.Types.Constraints>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class ComputeThreatListDiffRequest.Types.Constraints.

The constraints for this diff.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ComputeThreatListDiffRequest.Types.Constraints

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.WebRisk.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1)

## Assembly

Google.Cloud.WebRisk.V1Beta1.dll

## Constructors

### Constraints()

    public Constraints()

### Constraints(Constraints)

    public Constraints(ComputeThreatListDiffRequest.Types.Constraints other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.ComputeThreatListDiffRequest.Types.Constraints` |

## Properties

### MaxDatabaseEntries

    public int MaxDatabaseEntries { get; set; }

Sets the maximum number of entries that the client is willing to have
in the local database. This should be a power of 2 between 2**10 and
2**20. If zero, no database size limit is set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### MaxDiffEntries

    public int MaxDiffEntries { get; set; }

The maximum size in number of entries. The diff will not contain more
entries than this value. This should be a power of 2 between 2**10 and
2**20. If zero, no diff size limit is set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### SupportedCompressions

    public RepeatedField<CompressionType> SupportedCompressions { get; }

The compression types supported by the client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1Beta1/latest/Google.Cloud.WebRisk.V1Beta1.CompressionType` |   |