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
.
Implements
IMessageInspectionRule, IEquatableInspectionRule, IDeepCloneableInspectionRule, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
InspectionRule()
public InspectionRule()
InspectionRule(InspectionRule)
public InspectionRule(InspectionRule other)
Parameter | |
---|---|
Name | Description |
other |
InspectionRule |
Properties
ExclusionRule
public ExclusionRule ExclusionRule { get; set; }
Exclusion rule.
Property Value | |
---|---|
Type | Description |
ExclusionRule |
HotwordRule
public CustomInfoType.Types.DetectionRule.Types.HotwordRule HotwordRule { get; set; }
Hotword-based detection rule.
Property Value | |
---|---|
Type | Description |
CustomInfoTypeTypesDetectionRuleTypesHotwordRule |
TypeCase
public InspectionRule.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
InspectionRuleTypeOneofCase |