public sealed class ConditionalColumnSetValue : IMessage<ConditionalColumnSetValue>, IEquatable<ConditionalColumnSetValue>, IDeepCloneable<ConditionalColumnSetValue>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class ConditionalColumnSetValue.
Options to configure rule type ConditionalColumnSetValue.
The rule is used to transform the data which is being replicated/migrated.
The rule filter field can refer to one or more entities.
[[["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 document provides reference documentation for the \u003ccode\u003eConditionalColumnSetValue\u003c/code\u003e class within the Database Migration v1 API for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConditionalColumnSetValue\u003c/code\u003e class is designed to configure rules for transforming data during database replication or migration processes, specifically at the column level.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eConditionalColumnSetValue\u003c/code\u003e is 2.5.0, and there are multiple prior versions available, starting from 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to perform functions such as message handling and data cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for optional filters on source columns such as numeric filter, text filter, and required value transformations during the migration, and it also allows custom engine-specific features.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class ConditionalColumnSetValue (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue) \n\n public sealed class ConditionalColumnSetValue : IMessage\u003cConditionalColumnSetValue\u003e, IEquatable\u003cConditionalColumnSetValue\u003e, IDeepCloneable\u003cConditionalColumnSetValue\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class ConditionalColumnSetValue.\n\nOptions to configure rule type ConditionalColumnSetValue.\nThe rule is used to transform the data which is being replicated/migrated.\n\nThe rule filter field can refer to one or more entities.\n\nThe rule scope can be one of: Column. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConditionalColumnSetValue \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConditionalColumnSetValue](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConditionalColumnSetValue](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConditionalColumnSetValue](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.ConditionalColumnSetValue), [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.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### ConditionalColumnSetValue()\n\n public ConditionalColumnSetValue()\n\n### ConditionalColumnSetValue(ConditionalColumnSetValue)\n\n public ConditionalColumnSetValue(ConditionalColumnSetValue other)\n\nProperties\n----------\n\n### CustomFeatures\n\n public Struct CustomFeatures { get; set; }\n\nOptional. Custom engine specific features.\n\n### SourceFilterCase\n\n public ConditionalColumnSetValue.SourceFilterOneofCase SourceFilterCase { get; }\n\n### SourceNumericFilter\n\n public SourceNumericFilter SourceNumericFilter { get; set; }\n\nOptional. Optional filter on source column precision and scale. Used for\nfixed point numbers such as NUMERIC/NUMBER data types.\n\n### SourceTextFilter\n\n public SourceTextFilter SourceTextFilter { get; set; }\n\nOptional. Optional filter on source column length. Used for text based\ndata types like varchar.\n\n### ValueTransformation\n\n public ValueTransformation ValueTransformation { get; set; }\n\nRequired. Description of data transformation during migration."]]