public sealed class DetectionRule : IMessage<CustomInfoType.Types.DetectionRule>, IEquatable<CustomInfoType.Types.DetectionRule>, IDeepCloneable<CustomInfoType.Types.DetectionRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CustomInfoType.Types.DetectionRule.
Deprecated; use InspectionRuleSet
instead. Rule for modifying a
CustomInfoType
to alter behavior under certain circumstances, depending
on the specific details of the rule. Not supported for the surrogate_type
custom infoType.
Implements
IMessage<CustomInfoType.Types.DetectionRule>, IEquatable<CustomInfoType.Types.DetectionRule>, IDeepCloneable<CustomInfoType.Types.DetectionRule>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
DetectionRule()
public DetectionRule()
DetectionRule(CustomInfoType.Types.DetectionRule)
public DetectionRule(CustomInfoType.Types.DetectionRule other)
Parameter | |
---|---|
Name | Description |
other | CustomInfoType.Types.DetectionRule |
Properties
HotwordRule
public CustomInfoType.Types.DetectionRule.Types.HotwordRule HotwordRule { get; set; }
Hotword-based detection rule.
Property Value | |
---|---|
Type | Description |
CustomInfoType.Types.DetectionRule.Types.HotwordRule |
TypeCase
public CustomInfoType.Types.DetectionRule.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
CustomInfoType.Types.DetectionRule.TypeOneofCase |