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 document provides reference documentation for the `CustomInfoType.Types.DetectionRule` class within the Google Cloud Data Loss Prevention v2 API, specifically for .NET."],["The `DetectionRule` class, part of the `Google.Cloud.Dlp.V2` namespace, is used to modify `CustomInfoType` behavior under specific conditions, but is noted as being deprecated and to use `InspectionRuleSet` instead."],["The class inherits from `Object` and implements `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces, showcasing its capabilities for deep cloning, message handling, and equality comparison."],["The documentation lists various versions of this class, from 2.15.0 to the latest, 4.16.0, allowing users to access documentation for different historical versions of the class."],["The `DetectionRule` class includes properties like `HotwordRule` and `TypeCase`, with available constructors for creating instances either by default or copying from another `DetectionRule` instance."]]],[]]