Class ExclusionRule

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
google.cloud.dlp_v2.types.CustomInfoType.Dictionarydictionary
Dictionary which defines the rule. This field is a member of `oneof`_ ``type``.
google.cloud.dlp_v2.types.CustomInfoType.Regexregex
Regular expression which defines the rule. This field is a member of `oneof`_ ``type``.
google.cloud.dlp_v2.types.ExcludeInfoTypesexclude_info_types
Set of infoTypes for which findings would affect this rule. This field is a member of `oneof`_ ``type``.
google.cloud.dlp_v2.types.MatchingTypematching_type
How the rule is applied, see MatchingType documentation for details.

Inheritance

builtins.object > proto.message.Message > ExclusionRule