Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::TransformationErrorHandling.
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
-
(::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed) — Ignore errors
Note: The following fields are mutually exclusive:
leave_untransformed
,throw_error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#leave_untransformed=
def leave_untransformed=(value) -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed
-
value (::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed) — Ignore errors
Note: The following fields are mutually exclusive:
leave_untransformed
,throw_error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed) — Ignore errors
Note: The following fields are mutually exclusive:
leave_untransformed
,throw_error
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#throw_error
def throw_error() -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError
-
(::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error
Note: The following fields are mutually exclusive:
throw_error
,leave_untransformed
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#throw_error=
def throw_error=(value) -> ::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError
-
value (::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error
Note: The following fields are mutually exclusive:
throw_error
,leave_untransformed
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError) — Throw an error
Note: The following fields are mutually exclusive:
throw_error
,leave_untransformed
. If a field in that set is populated, all other fields in the set will automatically be cleared.