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\u003eThis document outlines the \u003ccode\u003eConstraints\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.WebRisk.V1\u003c/code\u003e namespace, specifically for version 1.2.0 of the .NET library, which is used for setting limitations in \u003ccode\u003eComputeThreatListDiffRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConstraints\u003c/code\u003e class, which inherits from \u003ccode\u003eObject\u003c/code\u003e, is used to define constraints for a diff, such as maximum database and diff entry limits, and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a constructor to create an instance of \u003ccode\u003eConstraints\u003c/code\u003e with default values or from another existing \u003ccode\u003eConstraints\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eMaxDatabaseEntries\u003c/code\u003e and \u003ccode\u003eMaxDiffEntries\u003c/code\u003e, both of type \u003ccode\u003eInt32\u003c/code\u003e, which allow you to set the maximum number of entries for the database and the diff, respectively, and \u003ccode\u003eSupportedCompressions\u003c/code\u003e to specify which compression types the client supports.\u003c/p\u003e\n"],["\u003cp\u003eThe document also highlights the latest version, 2.6.0, alongside various other older versions, all the way down to 1.2.0, all for \u003ccode\u003eComputeThreatListDiffRequest.Types.Constraints\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]