public sealed class FindingLimits : IMessage<InspectConfig.Types.FindingLimits>, IEquatable<InspectConfig.Types.FindingLimits>, IDeepCloneable<InspectConfig.Types.FindingLimits>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class InspectConfig.Types.FindingLimits.
Configuration to control the number of findings returned for inspection.
This is not used for de-identification or data profiling.
When redacting sensitive data from images, finding limits don't apply. They
can cause unexpected or inconsistent results, where only some data is
redacted. Don't include finding limits in
[RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
requests. Otherwise, Cloud DLP returns an error.
Max number of findings that will be returned for each item scanned.
When set within InspectJobConfig,
the maximum returned is 2000 regardless if this is set higher.
When set within InspectContentRequest, this field is ignored.
Max number of findings that will be returned per request/job.
When set within InspectContentRequest, the maximum returned is 2000
regardless if this is set higher.
[[["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\u003eInspectConfig.Types.FindingLimits\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, spanning multiple versions, from 2.15.0 to 4.16.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFindingLimits\u003c/code\u003e is a configuration class used to control the maximum number of findings returned during data inspection, but does not apply to data profiling or de-identification, and should not be used for image redaction requests.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eFindingLimits\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eFindingLimits\u003c/code\u003e include \u003ccode\u003eMaxFindingsPerInfoType\u003c/code\u003e to set limits per specific info type, \u003ccode\u003eMaxFindingsPerItem\u003c/code\u003e to limit findings per scanned item (up to 2000 in jobs), and \u003ccode\u003eMaxFindingsPerRequest\u003c/code\u003e to limit findings per request or job (up to 2000 in content requests).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for the class, a default and one taking another instance of \u003ccode\u003eInspectConfig.Types.FindingLimits\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]