Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::InspectionRule.
A single inspection rule to be applied to infoTypes, specified in
InspectionRuleSet
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exclusion_rule
def exclusion_rule() -> ::Google::Cloud::Dlp::V2::ExclusionRule
Returns
- (::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
#exclusion_rule=
def exclusion_rule=(value) -> ::Google::Cloud::Dlp::V2::ExclusionRule
Parameter
- value (::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
Returns
- (::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
#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.