public sealed class SingleColumnChange : IMessage<SingleColumnChange>, IEquatable<SingleColumnChange>, IDeepCloneable<SingleColumnChange>, IBufferMessage, IMessage
Reference documentation and code samples for the Database Migration v1 API class SingleColumnChange.
Options to configure rule type SingleColumnChange.
The rule is used to change the properties of a column.
The rule filter field can refer to one entity.
The rule scope can be one of: Column.
When using this rule, if a field is not specified than the destination
column's configuration will be the same as the one in the source column..
[[["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\u003eThe \u003ccode\u003eSingleColumnChange\u003c/code\u003e class in the Google Cloud Database Migration v1 API allows modification of column properties, with the latest version being 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for changing properties of a single column within a database, and its scope is limited to column-level adjustments.\u003c/p\u003e\n"],["\u003cp\u003eWhen configuring \u003ccode\u003eSingleColumnChange\u003c/code\u003e, unspecified fields will default to the source column's configuration, enabling partial updates.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSingleColumnChange\u003c/code\u003e offers various properties like \u003ccode\u003eArray\u003c/code\u003e, \u003ccode\u003eArrayLength\u003c/code\u003e, \u003ccode\u003eCharset\u003c/code\u003e, \u003ccode\u003eDataType\u003c/code\u003e, etc.to define specific column attributes, and has methods \u003ccode\u003eSingleColumnChange()\u003c/code\u003e to create a new instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSingleColumnChange\u003c/code\u003e class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from object, providing functionalities for message handling, equality checks, deep cloning, and buffer message operations.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class SingleColumnChange (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.SingleColumnChange)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.SingleColumnChange)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.SingleColumnChange) \n\n public sealed class SingleColumnChange : IMessage\u003cSingleColumnChange\u003e, IEquatable\u003cSingleColumnChange\u003e, IDeepCloneable\u003cSingleColumnChange\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class SingleColumnChange.\n\nOptions to configure rule type SingleColumnChange.\nThe rule is used to change the properties of a column.\n\nThe rule filter field can refer to one entity.\n\nThe rule scope can be one of: Column.\n\nWhen using this rule, if a field is not specified than the destination\ncolumn's configuration will be the same as the one in the source column.. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SingleColumnChange \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SingleColumnChange](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleColumnChange), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SingleColumnChange](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleColumnChange), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SingleColumnChange](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.SingleColumnChange), [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### SingleColumnChange()\n\n public SingleColumnChange()\n\n### SingleColumnChange(SingleColumnChange)\n\n public SingleColumnChange(SingleColumnChange other)\n\nProperties\n----------\n\n### Array\n\n public bool Array { get; set; }\n\nOptional. Is the column of array type.\n\n### ArrayLength\n\n public int ArrayLength { get; set; }\n\nOptional. The length of the array, only relevant if the column type is an\narray.\n\n### AutoGenerated\n\n public bool AutoGenerated { get; set; }\n\nOptional. Is the column auto-generated/identity.\n\n### Charset\n\n public string Charset { get; set; }\n\nOptional. Charset override - instead of table level charset.\n\n### Collation\n\n public string Collation { get; set; }\n\nOptional. Collation override - instead of table level collation.\n\n### Comment\n\n public string Comment { get; set; }\n\nOptional. Comment associated with the column.\n\n### CustomFeatures\n\n public Struct CustomFeatures { get; set; }\n\nOptional. Custom engine specific features.\n\n### DataType\n\n public string DataType { get; set; }\n\nOptional. Column data type name.\n\n### FractionalSecondsPrecision\n\n public int FractionalSecondsPrecision { get; set; }\n\nOptional. Column fractional seconds precision - e.g. 2 as in timestamp (2)\n\n- when relevant.\n\n### Length\n\n public long Length { get; set; }\n\nOptional. Column length - e.g. 50 as in varchar (50) - when relevant.\n\n### Nullable\n\n public bool Nullable { get; set; }\n\nOptional. Is the column nullable.\n\n### Precision\n\n public int Precision { get; set; }\n\nOptional. Column precision - e.g. 8 as in double (8,2) - when relevant.\n\n### Scale\n\n public int Scale { get; set; }\n\nOptional. Column scale - e.g. 2 as in double (8,2) - when relevant.\n\n### SetValues\n\n public RepeatedField\u003cstring\u003e SetValues { get; }\n\nOptional. Specifies the list of values allowed in the column.\n\n### Udt\n\n public bool Udt { get; set; }\n\nOptional. Is the column a UDT (User-defined Type)."]]