Class InspectionRule (3.4.0)

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

A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.

Inheritance

Object > InspectionRule

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

InspectionRule()

public InspectionRule()

InspectionRule(InspectionRule)

public InspectionRule(InspectionRule other)
Parameter
NameDescription
otherInspectionRule

Properties

ExclusionRule

public ExclusionRule ExclusionRule { get; set; }

Exclusion rule.

Property Value
TypeDescription
ExclusionRule

HotwordRule

public CustomInfoType.Types.DetectionRule.Types.HotwordRule HotwordRule { get; set; }

Hotword-based detection rule.

Property Value
TypeDescription
CustomInfoType.Types.DetectionRule.Types.HotwordRule

TypeCase

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