Google Cloud Data Loss Prevention v2 API - Class InspectionRule (2.15.0)

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

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

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
CustomInfoTypeTypesDetectionRuleTypesHotwordRule

TypeCase

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