public sealed class InspectConfig.Types.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 are returned for each item scanned.
When set within an
[InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest],
this field is ignored.
This value isn't a hard limit. If the number of findings for an item
reaches this limit, the inspection of that item ends gradually, not
abruptly. Therefore, the actual number of findings that Cloud DLP returns
for the item can be multiple times higher than this value.
Max number of findings that are returned per request or job.
If you set this field in an
[InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the
resulting maximum value is the value that you set or 3,000, whichever is
lower.
This value isn't a hard limit. If an inspection reaches this limit, the
inspection ends gradually, not abruptly. Therefore, the actual number of
findings that Cloud DLP returns can be multiple times higher than this
value.
[[["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 document provides reference documentation for the \u003ccode\u003eInspectConfig.Types.FindingLimits\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFindingLimits\u003c/code\u003e is used to configure and control the number of findings returned during data inspection, but does not apply to de-identification or data profiling.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eMaxFindingsPerInfoType\u003c/code\u003e, \u003ccode\u003eMaxFindingsPerItem\u003c/code\u003e, and \u003ccode\u003eMaxFindingsPerRequest\u003c/code\u003e to manage finding limits at different granularities.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available ranging from version 2.15.0 all the way up to the most recent version at 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has multiple implementations like \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 \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Data Loss Prevention v2 API - Class InspectConfig.Types.FindingLimits (4.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.18.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.17.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.16.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.15.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.14.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.13.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.12.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.11.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.10.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.9.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.8.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.7.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.6.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.5.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.4.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.3.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.2.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.1.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.0.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.5.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.4.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.3.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.2.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.16.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.15.0/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits) \n\n public sealed class InspectConfig.Types.FindingLimits : IMessage\u003cInspectConfig.Types.FindingLimits\u003e, IEquatable\u003cInspectConfig.Types.FindingLimits\u003e, IDeepCloneable\u003cInspectConfig.Types.FindingLimits\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class InspectConfig.Types.FindingLimits.\n\nConfiguration to control the number of findings returned for inspection.\nThis is not used for de-identification or data profiling.\n\nWhen redacting sensitive data from images, finding limits don't apply. They\ncan cause unexpected or inconsistent results, where only some data is\nredacted. Don't include finding limits in\n\\[RedactImage\\]\\[google.privacy.dlp.v2.DlpService.RedactImage\\]\nrequests. Otherwise, Cloud DLP returns an error. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e InspectConfig.Types.FindingLimits \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[InspectConfig](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig)[Types](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types)[FindingLimits](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[InspectConfig](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig)[Types](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types)[FindingLimits](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[InspectConfig](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig)[Types](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types)[FindingLimits](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectConfig.Types.FindingLimits), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dlp.V2](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dlp.V2.dll\n\nConstructors\n------------\n\n### FindingLimits()\n\n public FindingLimits()\n\n### FindingLimits(FindingLimits)\n\n public FindingLimits(InspectConfig.Types.FindingLimits other)\n\nProperties\n----------\n\n### MaxFindingsPerInfoType\n\n public RepeatedField\u003cInspectConfig.Types.FindingLimits.Types.InfoTypeLimit\u003e MaxFindingsPerInfoType { get; }\n\nConfiguration of findings limit given for specified infoTypes.\n\n### MaxFindingsPerItem\n\n public int MaxFindingsPerItem { get; set; }\n\nMax number of findings that are returned for each item scanned.\n\nWhen set within an\n\\[InspectContentRequest\\]\\[google.privacy.dlp.v2.InspectContentRequest\\],\nthis field is ignored.\n\nThis value isn't a hard limit. If the number of findings for an item\nreaches this limit, the inspection of that item ends gradually, not\nabruptly. Therefore, the actual number of findings that Cloud DLP returns\nfor the item can be multiple times higher than this value.\n\n### MaxFindingsPerRequest\n\n public int MaxFindingsPerRequest { get; set; }\n\nMax number of findings that are returned per request or job.\n\nIf you set this field in an\n\\[InspectContentRequest\\]\\[google.privacy.dlp.v2.InspectContentRequest\\], the\nresulting maximum value is the value that you set or 3,000, whichever is\nlower.\n\nThis value isn't a hard limit. If an inspection reaches this limit, the\ninspection ends gradually, not abruptly. Therefore, the actual number of\nfindings that Cloud DLP returns can be multiple times higher than this\nvalue."]]