Google Cloud Data Loss Prevention v2 API - Class ExclusionRule (4.15.0)

public sealed class ExclusionRule : IMessage<ExclusionRule>, IEquatable<ExclusionRule>, IDeepCloneable<ExclusionRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ExclusionRule.

The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.

Inheritance

object > ExclusionRule

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ExclusionRule()

public ExclusionRule()

ExclusionRule(ExclusionRule)

public ExclusionRule(ExclusionRule other)
Parameter
Name Description
other ExclusionRule

Properties

Dictionary

public CustomInfoType.Types.Dictionary Dictionary { get; set; }

Dictionary which defines the rule.

Property Value
Type Description
CustomInfoTypeTypesDictionary

ExcludeByHotword

public ExcludeByHotword ExcludeByHotword { get; set; }

Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.

Property Value
Type Description
ExcludeByHotword

ExcludeInfoTypes

public ExcludeInfoTypes ExcludeInfoTypes { get; set; }

Set of infoTypes for which findings would affect this rule.

Property Value
Type Description
ExcludeInfoTypes

MatchingType

public MatchingType MatchingType { get; set; }

How the rule is applied, see MatchingType documentation for details.

Property Value
Type Description
MatchingType

Regex

public CustomInfoType.Types.Regex Regex { get; set; }

Regular expression which defines the rule.

Property Value
Type Description
CustomInfoTypeTypesRegex

TypeCase

public ExclusionRule.TypeOneofCase TypeCase { get; }
Property Value
Type Description
ExclusionRuleTypeOneofCase