Class InspectionRule (3.9.2)

Stay organized with collections Save and categorize content based on your preferences.
InspectionRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single inspection rule to be applied to infoTypes, specified in InspectionRuleSet.

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
hotword_rule google.cloud.dlp_v2.types.CustomInfoType.DetectionRule.HotwordRule
Hotword-based detection rule. This field is a member of oneof_ type.
exclusion_rule google.cloud.dlp_v2.types.ExclusionRule
Exclusion rule. This field is a member of oneof_ type.

Inheritance

builtins.object > proto.message.Message > InspectionRule