2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.3.0 1.2.0

    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 v1 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://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.md.txt)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.Constraints.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.md.txt)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.Constraints.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ComputeThreatListDiffRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.md.txt)[Constraints](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest.Types.Constraints.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.md.txt)

## Assembly

Google.Cloud.WebRisk.V1.dll

## Constructors

### Constraints()

    public Constraints()

### Constraints(Constraints)

    public Constraints(ComputeThreatListDiffRequest.Types.Constraints other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ComputeThreatListDiffRequestTypesConstraints` |

## 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** |
| `int` |   |

### 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** |
| `int` |   |

### SupportedCompressions

    public RepeatedField<CompressionType> SupportedCompressions { get; }

The compression types supported by the client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldCompressionType` |   |