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.
[[["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 provides documentation for the `DetectionRule` class within the Google Cloud Data Loss Prevention (DLP) v2 API, specifically within the `CustomInfoType.Types` namespace."],["The `DetectionRule` class is used to modify a `CustomInfoType` under certain circumstances, but it is deprecated in favor of using `InspectionRuleSet`, and is not supported for the `surrogate_type` custom infoType."],["The class `DetectionRule` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, showcasing its integration with Google's protocol buffer system."],["The webpage contains a comprehensive list of available versions of `DetectionRule`, with version 4.16.0 listed as the latest, going all the way back to version 2.15.0."],["The `DetectionRule` class includes properties like `HotwordRule` and `TypeCase`, enabling hotword-based detection rules and differentiating between different types of detection rules."]]],[]]