TransformationErrorHandling(mapping=None, *, ignore_unknown_fields=False, **kwargs)
How to handle transformation errors during de-identification. A
transformation error occurs when the requested transformation is
incompatible with the data. For example, trying to de-identify an IP
address using a
DateShift transformation would result in a
transformation error, since date info cannot be extracted from an IP
address. Information about any incompatible transformations, and how
they were handled, is returned in the response as part of the
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
Throw an error This field is a member of
Ignore errors This field is a member of
Inheritancebuiltins.object > proto.message.Message > TransformationErrorHandling
LeaveUntransformed(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Skips the data without modifying it if the requested transformation
would cause an error. For example, if a
were applied an an IP address, this mode would leave the IP address
unchanged in the response.
ThrowError(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Throw an error and fail the request when a transformation error occurs.