Class PolicyCondition (3.40.0)

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

A condition that must match for this rule to apply.

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

Attribute

Name Description
info_type_condition google.cloud.dlp_v2.types.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition
A condition based on info types. This field is a member of oneof_ condition.

Classes

InfoTypeCondition

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

A info type based condition.

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