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
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary) — Dictionary which defines the rule.
#dictionary=
def dictionary=(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
def exclude_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=
def exclude_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
def exclude_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=
def exclude_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
def matching_type() -> ::Google::Cloud::Dlp::V2::MatchingType
Returns
- (::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
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
def regex() -> ::Google::Cloud::Dlp::V2::CustomInfoType::Regex
Returns
- (::Google::Cloud::Dlp::V2::CustomInfoType::Regex) — Regular expression which defines the rule.
#regex=
def regex=(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.