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, except for the `surrogate_type` custom info type, but is now deprecated in favor of `InspectionRuleSet`."],["The provided content shows links to different versions of the `DetectionRule`, ranging from version 2.15.0 to the latest 4.16.0."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `DetectionRule` class has two constructors and two key properties, `HotwordRule` for hotword-based detection and `TypeCase` to understand what type of rule is in place."]]],[]]