Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ExclusionRule (v0.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
defdictionary()->::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
#dictionary=
defdictionary=(value)->::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary
Parameter
- value (::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
#exclude_by_hotword
defexclude_by_hotword()->::Google::Cloud::Dlp::V2::ExcludeByHotword
Returns
- (::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.
#exclude_by_hotword=
defexclude_by_hotword=(value)->::Google::Cloud::Dlp::V2::ExcludeByHotword
Parameter
- 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.
Returns
- (::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.
#exclude_info_types
defexclude_info_types()->::Google::Cloud::Dlp::V2::ExcludeInfoTypes
Returns
- (::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
#exclude_info_types=
defexclude_info_types=(value)->::Google::Cloud::Dlp::V2::ExcludeInfoTypes
Parameter
- value (::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
Returns
- (::Google::Cloud::Dlp::V2::ExcludeInfoTypes) — Set of infoTypes for which findings would affect this rule.
#matching_type
defmatching_type()->::Google::Cloud::Dlp::V2::MatchingType
Returns
- (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
#matching_type=
defmatching_type=(value)->::Google::Cloud::Dlp::V2::MatchingType
Parameter
- value (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
Returns
- (::Google::Cloud::Dlp::V2::MatchingType) — How the rule is applied, see MatchingType documentation for details.
#regex
defregex()->::Google::Cloud::Dlp::V2::CustomInfoType::Regex
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
#regex=
defregex=(value)->::Google::Cloud::Dlp::V2::CustomInfoType::Regex
Parameter
- value (::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.