RecordCondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)A condition for determining whether a transformation should be applied to a field.
Attribute |
|
|---|---|
| Name | Description |
expressions |
google.cloud.dlp_v2.types.RecordCondition.Expressions
An expression. |
Classes
Condition
Condition(mapping=None, *, ignore_unknown_fields=False, **kwargs)The field type of value and field do not need to match to be
considered equal, but not all comparisons are possible. EQUAL_TO and
NOT_EQUAL_TO attempt to compare even with incompatible types, but
all other comparisons are invalid with incompatible types. A
value of type:
stringcan be compared against all other typesbooleancan only be compared against other booleansintegercan be compared against doubles or a string if the string value can be parsed as an integer.doublecan be compared against integers or a string if the string can be parsed as a double.Timestampcan be compared against strings in RFC 3339 date string format.TimeOfDaycan be compared against timestamps and strings in the format of 'HH:mm:ss'.
If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.
Conditions
Conditions(mapping=None, *, ignore_unknown_fields=False, **kwargs)A collection of conditions.
Expressions
Expressions(mapping=None, *, ignore_unknown_fields=False, **kwargs)An expression, consisting of an operator and conditions.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields