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 webpage provides documentation for the \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, with the latest version being 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExcludeInfoTypes\u003c/code\u003e is used to define a list of infoTypes to be excluded during data inspection, and it can drop a finding when overlapped or contained within another infoType from this list.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on the class's constructors, such as the default constructor and another one that takes \u003ccode\u003eExcludeInfoTypes\u003c/code\u003e as an argument for easy duplication.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInfoTypes\u003c/code\u003e property, a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eInfoType\u003c/code\u003e, allows specification of which info types to exclude in an inspection rule set.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes documentation for a wide range of versions, starting from version 2.15.0 all the way to the most current version 4.16.0, as well as providing links to each version's documentation.\u003c/p\u003e\n"]]],[],null,[]]