public sealed class 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.
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 provides reference information for the \u003ccode\u003eComputeThreatListDiffRequest.Types.Constraints\u003c/code\u003e class within the Google Cloud Web Risk v1 API, specifically version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConstraints\u003c/code\u003e class is used to define constraints for the diff when requesting updates to the threat list, it implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eMaxDatabaseEntries\u003c/code\u003e and \u003ccode\u003eMaxDiffEntries\u003c/code\u003e, which allow setting limits on the number of entries in the local database and the diff size, respectively, alongside a \u003ccode\u003eSupportedCompressions\u003c/code\u003e to set the types of compression the client supports.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in this document is version 2.6.0, and many previous versions are available, all of which relate to the \u003ccode\u003eComputeThreatListDiffRequest.Types.Constraints\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]