# TransformationDescription

- [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/TransformationDescription#SCHEMA_REPRESENTATION)

A flattened description of a `PrimitiveTransformation` or `RecordSuppression`.

| JSON representation |
|---|
| ``` { "type": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/TransformationType`), "description": string, "condition": string, "infoType": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InfoType`) } } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/TransformationType`)`` The transformation type. |
| `description` | `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. |
| `condition` | `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) |
| `infoType` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InfoType`)`` Set if the transformation was limited to a specific `InfoType`. |