Class: Google::Cloud::Dlp::V2::InfoTypeTransformations

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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

#transformations::Array<::Google::Cloud::Dlp::V2::InfoTypeTransformations::InfoTypeTransformation>

Returns Required. Transformation for each infoType. Cannot specify more than one for a given infoType.

Returns:



2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2776

class InfoTypeTransformations
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A transformation to apply to text that is identified as a specific
  # info_type.
  # @!attribute [rw] info_types
  #   @return [::Array<::Google::Cloud::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::Cloud::Dlp::V2::PrimitiveTransformation]
  #     Required. Primitive transformation to apply to the infoType.
  class InfoTypeTransformation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end