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 page provides documentation for the \u003ccode\u003eComputeThreatListDiffRequest.Types.Constraints\u003c/code\u003e class within the Google Cloud Web Risk v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConstraints\u003c/code\u003e class is used to define limitations for a diff in threat list data, including the maximum number of database entries and diff entries.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to allow for use and management within the API.\u003c/p\u003e\n"],["\u003cp\u003eIt allows setting limits on the local database size with \u003ccode\u003eMaxDatabaseEntries\u003c/code\u003e and the diff size with \u003ccode\u003eMaxDiffEntries\u003c/code\u003e, which should both be powers of 2 between 2\u003cstrong\u003e10 and 2\u003c/strong\u003e20.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSupportedCompressions\u003c/code\u003e property can be utilized to define the compression methods the client is capable of handling.\u003c/p\u003e\n"]]],[],null,[]]