public sealed class Constraints : IMessage<ComputeThreatListDiffRequest.Types.Constraints>, IEquatable<ComputeThreatListDiffRequest.Types.Constraints>, IDeepCloneable<ComputeThreatListDiffRequest.Types.Constraints>, IBufferMessage, IMessage
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eConstraints\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.WebRisk.V1Beta1\u003c/code\u003e namespace, defines the constraints for a diff in the \u003ccode\u003eComputeThreatListDiffRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for advanced functionality, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConstraints\u003c/code\u003e class offers two constructors, one default and one taking another \u003ccode\u003eConstraints\u003c/code\u003e object, and provides properties to set the maximum database and diff entries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaxDatabaseEntries\u003c/code\u003e and \u003ccode\u003eMaxDiffEntries\u003c/code\u003e properties allow for setting limits on the size of the local database and the diff, respectively, as a power of 2 between 2\u003cstrong\u003e10 and 2\u003c/strong\u003e20.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSupportedCompressions\u003c/code\u003e property allows clients to specify the compression types they support, using a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eCompressionType\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]