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)



3010
3011
3012
3013
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3010

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.



3010
3011
3012
3013
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3010

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:



3010
3011
3012
3013
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3010

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

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

Returns The transformation type.

Returns:



3010
3011
3012
3013
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3010

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