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 webpage details the `DetectionRule` class within the `Google.Cloud.Dlp.V2` namespace, specifically for version 3.5.0 and provides links to various versions ranging from 2.15.0 to 4.16.0."],["The `DetectionRule` class, used to modify `CustomInfoType` behavior, is deprecated in favor of `InspectionRuleSet`."],["`DetectionRule` has inheritance and implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes two constructors, `DetectionRule()` and `DetectionRule(CustomInfoType.Types.DetectionRule other)`, and properties like `HotwordRule` and `TypeCase`."],["It also has links to the documentation for each version, along with detailed information about its properties, constructors, inherited members, namespace and assembly."]]],[]]