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
-
(::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
Note: The following fields are mutually exclusive:
exclusion_rule
,hotword_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclusion_rule=
def exclusion_rule=(value) -> ::Google::Cloud::Dlp::V2::ExclusionRule
-
value (::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
Note: The following fields are mutually exclusive:
exclusion_rule
,hotword_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ExclusionRule) — Exclusion rule.
Note: The following fields are mutually exclusive:
exclusion_rule
,hotword_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#hotword_rule
def hotword_rule() -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule
-
(::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.
Note: The following fields are mutually exclusive:
hotword_rule
,exclusion_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#hotword_rule=
def hotword_rule=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule
-
value (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.
Note: The following fields are mutually exclusive:
hotword_rule
,exclusion_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule) — Hotword-based detection rule.
Note: The following fields are mutually exclusive:
hotword_rule
,exclusion_rule
. If a field in that set is populated, all other fields in the set will automatically be cleared.