public sealed class CustomInfoType.Types.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-04-09 UTC."],[[["This document provides reference documentation for the `CustomInfoType.Types.DetectionRule` class within the Google Cloud Data Loss Prevention v2 API."],["The `DetectionRule` class is used to modify a `CustomInfoType`'s behavior under specific circumstances, but it is deprecated and users should use `InspectionRuleSet` instead."],["The class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, making it compatible with various .NET functionalities."],["The document offers links to different versions of the API, ranging from the latest version 4.16.0 down to version 2.15.0."],["The `DetectionRule` class has two constructors, a default constructor and another that accepts another `DetectionRule` instance, and it also has two main properties, `HotwordRule` and `TypeCase`, to manage detection settings."]]],[]]