Class: Google::Cloud::Dlp::V2::TransformationDescription

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 flattened description of a PrimitiveTransformation or RecordSuppression.

Instance Attribute Summary collapse

Instance Attribute Details

#condition::String

Returns A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation.

Examples: * (age_field > 85) * (age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field != "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field exists).

Returns:

  • (::String)

    A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation.

    Examples: * (age_field > 85) * (age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field != "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field exists)



3061
3062
3063
3064
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3061

class TransformationDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#description::String

Returns A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.

Returns:

  • (::String)

    A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.



3061
3062
3063
3064
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3061

class TransformationDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#info_type::Google::Cloud::Dlp::V2::InfoType

Returns Set if the transformation was limited to a specific InfoType.

Returns:



3061
3062
3063
3064
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3061

class TransformationDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::Google::Cloud::Dlp::V2::TransformationType

Returns The transformation type.

Returns:



3061
3062
3063
3064
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3061

class TransformationDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end