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
TransformationOverviews
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#leave_untransformed
def leave_untransformed() -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed
#leave_untransformed=
def leave_untransformed=(value) -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed
- value (::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed) — Ignore errors
#throw_error
def throw_error() -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError
- (::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error
#throw_error=
def throw_error=(value) -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError
- value (::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error
- (::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error