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"]],[["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-06-05 UTC."],[[["This webpage provides reference documentation for the `ExcludeInfoTypes` class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically for the .NET environment."],["The `ExcludeInfoTypes` class is used to define a list of infoTypes that can be excluded from DLP findings, affecting how data is inspected and what results are generated."],["The most current version available is 4.16.0, but you can access multiple versions, including the listed 4.15.0, which this documentation primarily focuses on, as well as older versions, all the way down to 2.15.0."],["`ExcludeInfoTypes` inherits from the `object` class and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, and it contains the `InfoTypes` property which is a list of infoTypes to exclude."],["You can use the `ExcludeInfoTypes()` constructor to build an instance of this class, or utilize the `ExcludeInfoTypes(ExcludeInfoTypes other)` constructor, which creates a clone of the specified instance."]]],[]]