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 | |
---|---|
Name | Description |
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 .
|
exclude_by_hotword |
google.cloud.dlp_v2.types.ExcludeByHotword
Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. 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. |