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-03-24 UTC."],[[["This page provides documentation for the `ExcludeInfoTypes` class within the Google Cloud Data Loss Prevention v2 API, specifically for the .NET environment."],["The latest version available for `ExcludeInfoTypes` is 4.16.0, with a detailed list of previous versions from 4.15.0 back to 2.15.0 also documented here."],["`ExcludeInfoTypes` is a sealed class that implements various interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is used to define a list of infoTypes to exclude in DLP operations."],["The class includes a property called `InfoTypes`, which allows you to define a list of `InfoType` that excludes from a finding if it overlaps with an `EMAIL_ADDRESS` finding, for instance."],["This class includes two constructors, `ExcludeInfoTypes()` and `ExcludeInfoTypes(ExcludeInfoTypes)`, that can be used to instantiate the class, either empty or copying data from another `ExcludeInfoTypes` object."]]],[]]