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."],[[["The `DetectionRule` class, found within the `Google.Cloud.Dlp.V2` namespace, is used to modify a `CustomInfoType`'s behavior under certain conditions, but is not applicable to `surrogate_type` custom info types."],["This `DetectionRule` class is now considered deprecated and users are recommended to use `InspectionRuleSet` instead for modifying behaviors."],["The latest available version for `DetectionRule` in the provided documentation is 4.16.0, while the range of provided version details spans from version 2.15.0 to 4.16.0."],["The `DetectionRule` class implements multiple interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage and inherits members from the base object class."],["The class has two constructors one is `DetectionRule()`, and the other one `DetectionRule(CustomInfoType.Types.DetectionRule other)`, where other is of type CustomInfoType.Types.DetectionRule."]]],[]]