Class ComputeThreatListDiffRequest.Types.Constraints

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

The constraints for this diff.

Inheritance

Object > ComputeThreatListDiffRequest.Types.Constraints

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Constructors

Constraints()

public Constraints()

Constraints(ComputeThreatListDiffRequest.Types.Constraints)

public Constraints(ComputeThreatListDiffRequest.Types.Constraints other)
Parameter
TypeNameDescription
ComputeThreatListDiffRequest.Types.Constraintsother

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 210 and 220. If zero, no database size limit is set.

Property Value
TypeDescription
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 210 and 220. If zero, no diff size limit is set.

Property Value
TypeDescription
Int32

SupportedCompressions

public RepeatedField<CompressionType> SupportedCompressions { get; }

The compression types supported by the client.

Property Value
TypeDescription
RepeatedField<CompressionType>