Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CustomInfoType::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hotword_rule
def hotword_rule() -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule
    Returns
    
  - (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.
#hotword_rule=
def hotword_rule=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.
    Returns
    
- (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.