Class ExclusionRule (2.0.2)

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 .storage.CustomInfoType.Dictionary
Dictionary which defines the rule.
regex .storage.CustomInfoType.Regex
Regular expression which defines the rule.
exclude_info_types .dlp.ExcludeInfoTypes
Set of infoTypes for which findings would affect this rule.
matching_type .dlp.MatchingType
How the rule is applied, see MatchingType documentation for details.