public sealed class ExcludeInfoTypes : IMessage<ExcludeInfoTypes>, IEquatable<ExcludeInfoTypes>, IDeepCloneable<ExcludeInfoTypes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ExcludeInfoTypes.
InfoType list in ExclusionRule rule drops a finding when it overlaps or
contained within with a finding of an infoType from this list. For
example, for InspectionRuleSet.info_types containing "PHONE_NUMBER"andexclusion_rulecontainingexclude_info_types.info_types` with
"EMAIL_ADDRESS" the phone number findings are dropped if they overlap
with EMAIL_ADDRESS finding.
That leads to "555-222-2222@example.org" to generate only a single
finding, namely email address.
[[["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\u003eExcludeInfoTypes\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e is 4.16.0, with a detailed list of previous versions from 4.15.0 back to 2.15.0 also documented here.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExcludeInfoTypes\u003c/code\u003e is a sealed class that implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is used to define a list of infoTypes to exclude in DLP operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a property called \u003ccode\u003eInfoTypes\u003c/code\u003e, which allows you to define a list of \u003ccode\u003eInfoType\u003c/code\u003e that excludes from a finding if it overlaps with an \u003ccode\u003eEMAIL_ADDRESS\u003c/code\u003e finding, for instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes two constructors, \u003ccode\u003eExcludeInfoTypes()\u003c/code\u003e and \u003ccode\u003eExcludeInfoTypes(ExcludeInfoTypes)\u003c/code\u003e, that can be used to instantiate the class, either empty or copying data from another \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]