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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This page details the `ExcludeInfoTypes` class within the Google Cloud Data Loss Prevention (DLP) .NET library, specifically version 3.3.0, which is used for managing lists of info types to exclude."],["The latest version available for the `ExcludeInfoTypes` class is 4.16.0, with numerous previous versions also documented and accessible on this page."],["`ExcludeInfoTypes` inherits from `Object` and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which are all standard types that are useful in the context of its function."],["The primary function of the `ExcludeInfoTypes` class is to specify a list of `InfoType` objects that will be used in exclusion rules, to help filter out findings that overlap with or are contained within a specified `InfoType`."],["The class provides two constructors, one of which takes another `ExcludeInfoTypes` object, along with a property, `InfoTypes`, a `RepeatedField` of `InfoType`, which stores the list of excluded info types."]]],[]]