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

Stay organized with collections Save and categorize content based on your preferences.
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.

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