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 a `CustomInfoType` and has been deprecated in favor of `InspectionRuleSet`."],["The latest version available in this documentation is 4.16.0, with numerous prior versions listed, from 2.15.0 to 4.15.0, showcasing the version history."],["The class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `Object` class."],["The `DetectionRule` class supports a `HotwordRule` property for hotword-based detection, and a `TypeCase` property to determine which type of rule is used."]]],[]]