Class: Google::Privacy::Dlp::V2::InfoTypeTransformations

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations to each finding, where the transformation is applied to only values that were identified as a specific info_type.

Defined Under Namespace

Classes: InfoTypeTransformation

Instance Attribute Summary collapse

Instance Attribute Details

#transformationsArray<Google::Privacy::Dlp::V2::InfoTypeTransformations::InfoTypeTransformation>

Returns Transformation for each infoType. Cannot specify more than one for a given infoType. [required].

Returns:



1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1620

class InfoTypeTransformations
  # A transformation to apply to text that is identified as a specific
  # info_type.
  # @!attribute [rw] info_types
  #   @return [Array<Google::Privacy::Dlp::V2::InfoType>]
  #     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`.
  # @!attribute [rw] primitive_transformation
  #   @return [Google::Privacy::Dlp::V2::PrimitiveTransformation]
  #     Primitive transformation to apply to the infoType. [required]
  class InfoTypeTransformation; end
end