Class ExclusionRule (3.9.0)

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

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
dictionary google.cloud.dlp_v2.types.CustomInfoType.Dictionary
Dictionary which defines the rule. This field is a member of `oneof`_ ``type``.
regex google.cloud.dlp_v2.types.CustomInfoType.Regex
Regular expression which defines the rule. This field is a member of `oneof`_ ``type``.
exclude_info_types google.cloud.dlp_v2.types.ExcludeInfoTypes
Set of infoTypes for which findings would affect this rule. This field is a member of `oneof`_ ``type``.
matching_type google.cloud.dlp_v2.types.MatchingType
How the rule is applied, see MatchingType documentation for details.

Inheritance

builtins.object > proto.message.Message > ExclusionRule