Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ExclusionRule.
The rule that specifies conditions when findings of infoTypes specified in
InspectionRuleSet
are removed from results.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dictionary
def dictionary() -> ::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
-
(::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
Note: The following fields are mutually exclusive:
dictionary
,regex
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#dictionary=
def dictionary=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
-
value (::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
Note: The following fields are mutually exclusive:
dictionary
,regex
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
Note: The following fields are mutually exclusive:
dictionary
,regex
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclude_by_hotword
def exclude_by_hotword() -> ::Google::Cloud::Dlp::V2::ExcludeByHotword
-
(::Google::Cloud::Dlp::V2::ExcludeByHotword) — Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
Note: The following fields are mutually exclusive:
exclude_by_hotword
,dictionary
,regex
,exclude_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclude_by_hotword=
def exclude_by_hotword=(value) -> ::Google::Cloud::Dlp::V2::ExcludeByHotword
-
value (::Google::Cloud::Dlp::V2::ExcludeByHotword) — Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
Note: The following fields are mutually exclusive:
exclude_by_hotword
,dictionary
,regex
,exclude_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ExcludeByHotword) — Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
Note: The following fields are mutually exclusive:
exclude_by_hotword
,dictionary
,regex
,exclude_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclude_info_types
def exclude_info_types() -> ::Google::Cloud::Dlp::V2::ExcludeInfoTypes
-
(::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
exclude_info_types
,dictionary
,regex
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#exclude_info_types=
def exclude_info_types=(value) -> ::Google::Cloud::Dlp::V2::ExcludeInfoTypes
-
value (::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
exclude_info_types
,dictionary
,regex
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
exclude_info_types
,dictionary
,regex
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#matching_type
def matching_type() -> ::Google::Cloud::Dlp::V2::MatchingType
- (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
#matching_type=
def matching_type=(value) -> ::Google::Cloud::Dlp::V2::MatchingType
- value (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
- (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
#regex
def regex() -> ::Google::Cloud::Dlp::V2::CustomInfoType::Regex
-
(::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
Note: The following fields are mutually exclusive:
regex
,dictionary
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#regex=
def regex=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::Regex
-
value (::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
Note: The following fields are mutually exclusive:
regex
,dictionary
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
Note: The following fields are mutually exclusive:
regex
,dictionary
,exclude_info_types
,exclude_by_hotword
. If a field in that set is populated, all other fields in the set will automatically be cleared.