# Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::TransformationDetails (v1.17.0)

1.17.0 (latest) 1.16.1 1.15.2 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.2 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::TransformationDetails.

Details about a single transformation. This object contains a description of
the transformation, information about whether the transformation was
successfully applied, and the precise location where the transformation
occurred. These details are stored in a user-specified BigQuery table.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #container_name

    def container_name() -> ::String

**Returns**

- (::String) --- The top level name of the container where the transformation is located (this will be the source file name or table name).

### #container_name=

    def container_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The top level name of the container where the transformation is located (this will be the source file name or table name).
**Returns**

- (::String) --- The top level name of the container where the transformation is located (this will be the source file name or table name).

### #resource_name

    def resource_name() -> ::String

**Returns**

- (::String) --- The name of the job that completed the transformation.

### #resource_name=

    def resource_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the job that completed the transformation.
**Returns**

- (::String) --- The name of the job that completed the transformation.

### #status_details

    def status_details() -> ::Google::Cloud::Dlp::V2::TransformationResultStatus

**Returns**

- ([::Google::Cloud::Dlp::V2::TransformationResultStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationResultStatus)) --- Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.

### #status_details=

    def status_details=(value) -> ::Google::Cloud::Dlp::V2::TransformationResultStatus

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::TransformationResultStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationResultStatus)) --- Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.
**Returns**

- ([::Google::Cloud::Dlp::V2::TransformationResultStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationResultStatus)) --- Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.

### #transformation

    def transformation() -> ::Array<::Google::Cloud::Dlp::V2::TransformationDescription>

**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::TransformationDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationDescription)\>) --- Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.

### #transformation=

    def transformation=(value) -> ::Array<::Google::Cloud::Dlp::V2::TransformationDescription>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Dlp::V2::TransformationDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationDescription)\>) --- Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.
**Returns**

- (::Array\<[::Google::Cloud::Dlp::V2::TransformationDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationDescription)\>) --- Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.

### #transformation_location

    def transformation_location() -> ::Google::Cloud::Dlp::V2::TransformationLocation

**Returns**

- ([::Google::Cloud::Dlp::V2::TransformationLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationLocation)) --- The precise location of the transformed content in the original container.

### #transformation_location=

    def transformation_location=(value) -> ::Google::Cloud::Dlp::V2::TransformationLocation

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::TransformationLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationLocation)) --- The precise location of the transformed content in the original container.
**Returns**

- ([::Google::Cloud::Dlp::V2::TransformationLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-TransformationLocation)) --- The precise location of the transformed content in the original container.

### #transformed_bytes

    def transformed_bytes() -> ::Integer

**Returns**

- (::Integer) --- The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.

### #transformed_bytes=

    def transformed_bytes=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.
**Returns**

- (::Integer) --- The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.