class Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig

The configuration that controls how the data will change.

Attributes

info_type_transformations[RW]

A type of transformation that will scan unstructured text and apply various ` PrimitiveTransformation`s to each finding, where the transformation is applied to only values that were identified as a specific info_type. Corresponds to the JSON property `infoTypeTransformations` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations]

record_transformations[RW]

A type of transformation that is applied over structured data such as a table. Corresponds to the JSON property `recordTransformations` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations]

transformation_error_handling[RW]

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`. Corresponds to the JSON property `transformationErrorHandling` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationErrorHandling]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1715
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1720
def update!(**args)
  @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations)
  @record_transformations = args[:record_transformations] if args.key?(:record_transformations)
  @transformation_error_handling = args[:transformation_error_handling] if args.key?(:transformation_error_handling)
end