Class CustomInfoType.Types.DetectionRule (3.2.0)

public sealed class DetectionRule : IMessage<CustomInfoType.Types.DetectionRule>, IEquatable<CustomInfoType.Types.DetectionRule>, IDeepCloneable<CustomInfoType.Types.DetectionRule>, IBufferMessage, IMessage

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.

Inheritance

Object > CustomInfoType.Types.DetectionRule

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DetectionRule()

public DetectionRule()

DetectionRule(CustomInfoType.Types.DetectionRule)

public DetectionRule(CustomInfoType.Types.DetectionRule other)
Parameter
NameDescription
otherCustomInfoType.Types.DetectionRule

Properties

HotwordRule

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

Hotword-based detection rule.

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

TypeCase

public CustomInfoType.Types.DetectionRule.TypeOneofCase TypeCase { get; }
Property Value
TypeDescription
CustomInfoType.Types.DetectionRule.TypeOneofCase