Class ExclusionRule

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

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
CustomInfoType.Types.Dictionary

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
CustomInfoType.Types.Regex

TypeCase

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