Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::TransformationDescription (v1.11.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::TransformationDescription.

A flattened description of a PrimitiveTransformation or RecordSuppression.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#condition

defcondition()->::String
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)

#condition=

defcondition=(value)->::String
Parameter
  • value (::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)

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)

#description

defdescription()->::String
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.

#description=

defdescription=(value)->::String
Parameter
  • value (::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.
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.

#info_type

definfo_type()->::Google::Cloud::Dlp::V2::InfoType
Returns

#info_type=

definfo_type=(value)->::Google::Cloud::Dlp::V2::InfoType
Parameter
Returns

#type

deftype()->::Google::Cloud::Dlp::V2::TransformationType
Returns

#type=

deftype=(value)->::Google::Cloud::Dlp::V2::TransformationType
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.