public sealed class ExcludeInfoTypes : IMessage<ExcludeInfoTypes>, IEquatable<ExcludeInfoTypes>, IDeepCloneable<ExcludeInfoTypes>, IBufferMessage, IMessage
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 webpage details the \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dlp.V2\u003c/code\u003e namespace, specifically for .NET development, and it is part of the 4.0.0 version and up to the most recent 4.16.0 version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e class is used to define a list of InfoTypes that should be excluded from DLP findings, allowing for the suppression of findings that overlap with specified info types.\u003c/p\u003e\n"],["\u003cp\u003eIt 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 \u003ccode\u003eObject\u003c/code\u003e, and it has two constructors, a default one, and another one which accepts an \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a \u003ccode\u003eInfoTypes\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eInfoType\u003c/code\u003e objects, indicating a list of the types of info that should be excluded.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available for versions 2.15.0 all the way to the latest version 4.16.0, with numerous versions in between, and it is contained within the Google.Cloud.Dlp.V2.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]