Class ExclusionRule (3.2.4)

ExclusionRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The rule that specifies conditions when findings of infoTypes specified in InspectionRuleSet are removed from results.

Attributes

NameDescription
dictionary google.cloud.dlp_v2.types.CustomInfoType.Dictionary
Dictionary which defines the rule.
regex google.cloud.dlp_v2.types.CustomInfoType.Regex
Regular expression which defines the rule.
exclude_info_types google.cloud.dlp_v2.types.ExcludeInfoTypes
Set of infoTypes for which findings would affect this rule.
matching_type google.cloud.dlp_v2.types.MatchingType
How the rule is applied, see MatchingType documentation for details.