Google Cloud Data Loss Prevention v2 API - Class CustomInfoType.Types.DetectionRule (4.15.0)

public sealed class CustomInfoType.Types.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.

Inheritance

object > CustomInfoType.Types.DetectionRule

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DetectionRule()

public DetectionRule()

DetectionRule(DetectionRule)

public DetectionRule(CustomInfoType.Types.DetectionRule other)
Parameter
Name Description
other CustomInfoTypeTypesDetectionRule

Properties

HotwordRule

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

Hotword-based detection rule.

Property Value
Type Description
CustomInfoTypeTypesDetectionRuleTypesHotwordRule

TypeCase

public CustomInfoType.Types.DetectionRule.TypeOneofCase TypeCase { get; }
Property Value
Type Description
CustomInfoTypeTypesDetectionRuleTypeOneofCase