class Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation

A transformation to apply to text that is identified as a specific info_type.

Attributes

info_types[RW]

InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in `InspectConfig`. Corresponds to the JSON property `infoTypes` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]

primitive_transformation[RW]

A rule for transforming a value. Corresponds to the JSON property `primitiveTransformation` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PrimitiveTransformation]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 3064
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 3069
def update!(**args)
  @info_types = args[:info_types] if args.key?(:info_types)
  @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation)
end