public sealed class TransformationDescription : IMessage<TransformationDescription>, IEquatable<TransformationDescription>, IDeepCloneable<TransformationDescription>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class TransformationDescription.
A flattened description of a PrimitiveTransformation or
RecordSuppression.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eTransformationDescription\u003c/code\u003e class within the Google Cloud Data Loss Prevention v2 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eTransformationDescription\u003c/code\u003e class is 4.16.0, and the page also lists the links to older versions down to 2.15.0, allowing users to access documentation for specific iterations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTransformationDescription\u003c/code\u003e is a class that describes either a \u003ccode\u003ePrimitiveTransformation\u003c/code\u003e or a \u003ccode\u003eRecordSuppression\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eCondition\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eInfoType\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which provide details about the transformation's application and characteristics, including any specific conditions, descriptions, or type of information it is set to manage.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Data Loss Prevention v2 API - Class TransformationDescription (4.19.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.19.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.18.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.18.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.17.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.17.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.16.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.15.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.14.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.14.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.13.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.13.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.12.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.12.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.11.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.11.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.10.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.10.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.9.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.8.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.7.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.6.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.5.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.4.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.3.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.2.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.1.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/4.0.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.5.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.4.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.3.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/3.2.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.16.0/Google.Cloud.Dlp.V2.TransformationDescription)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Dlp.V2/2.15.0/Google.Cloud.Dlp.V2.TransformationDescription) \n\n public sealed class TransformationDescription : IMessage\u003cTransformationDescription\u003e, IEquatable\u003cTransformationDescription\u003e, IDeepCloneable\u003cTransformationDescription\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class TransformationDescription.\n\nA flattened description of a `PrimitiveTransformation` or\n`RecordSuppression`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TransformationDescription \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TransformationDescription](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TransformationDescription), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TransformationDescription](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TransformationDescription), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TransformationDescription](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TransformationDescription), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dlp.V2](/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Dlp.V2.dll\n\nConstructors\n------------\n\n### TransformationDescription()\n\n public TransformationDescription()\n\n### TransformationDescription(TransformationDescription)\n\n public TransformationDescription(TransformationDescription other)\n\nProperties\n----------\n\n### Condition\n\n public string Condition { get; set; }\n\nA human-readable string representation of the `RecordCondition`\ncorresponding to this transformation. Set if a `RecordCondition` was used\nto determine whether or not to apply this transformation.\n\nExamples:\n\n- (age_field \\\u003e 85)\n- (age_field \\\u003c= 18)\n- (zip_field exists)\n- (zip_field == 01234) \\&\\& (city_field != \"Springville\")\n- (zip_field == 01234) \\&\\& (age_field \\\u003c= 18) \\&\\& (city_field exists)\n\n### Description\n\n public string Description { get; set; }\n\nA description of the transformation. This is empty for a\nRECORD_SUPPRESSION, or is the output of calling toString() on the\n`PrimitiveTransformation` protocol buffer message for any other type of\ntransformation.\n\n### InfoType\n\n public InfoType InfoType { get; set; }\n\nSet if the transformation was limited to a specific `InfoType`.\n\n### Type\n\n public TransformationType Type { get; set; }\n\nThe transformation type."]]