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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This page details the `DetectionRule` class within the `Google.Cloud.Dlp.V2` namespace, specifically for version 3.3.0 and the latest version is 4.16.0 of the library."],["The `DetectionRule` class is designed to modify `CustomInfoType` behavior in specific circumstances and is not supported for the `surrogate_type` custom info type."],["This `DetectionRule` is deprecated and users are recommended to use `InspectionRuleSet` instead, to modify the behaviors under specific circumstances."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `DetectionRule` class has a constructor that can create a `DetectionRule` instance with a `HotwordRule` property and the `TypeCase` property."]]],[]]