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-03-24 UTC."],[[["This documentation page covers the `CustomInfoType.Types.DetectionRule` class within the Google Cloud Data Loss Prevention v2 API, with the latest version available being 4.16.0."],["The `DetectionRule` class is used to modify a `CustomInfoType`'s behavior under certain conditions and it has been deprecated in favor of `InspectionRuleSet`, except when used with surrogate custom info types."],["The `DetectionRule` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["Key properties of the `DetectionRule` class include `HotwordRule` for hotword-based detection and `TypeCase`, which represents the type of rule being applied."],["There are several versions of the `DetectionRule` that are avaliable to view, ranging from version 4.16.0 to 2.15.0."]]],[]]