Google Cloud Data Loss Prevention v2 API - Class ExclusionRule (4.8.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
NameDescription
otherExclusionRule

Properties

Dictionary

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

Dictionary which defines the rule.

Property Value
TypeDescription
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
TypeDescription
ExcludeByHotword

ExcludeInfoTypes

public ExcludeInfoTypes ExcludeInfoTypes { get; set; }

Set of infoTypes for which findings would affect this rule.

Property Value
TypeDescription
ExcludeInfoTypes

MatchingType

public MatchingType MatchingType { get; set; }

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

Property Value
TypeDescription
MatchingType

Regex

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

Regular expression which defines the rule.

Property Value
TypeDescription
CustomInfoTypeTypesRegex

TypeCase

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