Database Migration v1 API - Class SingleColumnChange (2.2.0)

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..

Inheritance

object > SingleColumnChange

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

SingleColumnChange()

public SingleColumnChange()

SingleColumnChange(SingleColumnChange)

public SingleColumnChange(SingleColumnChange other)
Parameter
NameDescription
otherSingleColumnChange

Properties

Array

public bool Array { get; set; }

Optional. Is the column of array type.

Property Value
TypeDescription
bool

ArrayLength

public int ArrayLength { get; set; }

Optional. The length of the array, only relevant if the column type is an array.

Property Value
TypeDescription
int

AutoGenerated

public bool AutoGenerated { get; set; }

Optional. Is the column auto-generated/identity.

Property Value
TypeDescription
bool

Charset

public string Charset { get; set; }

Optional. Charset override - instead of table level charset.

Property Value
TypeDescription
string

Collation

public string Collation { get; set; }

Optional. Collation override - instead of table level collation.

Property Value
TypeDescription
string

Comment

public string Comment { get; set; }

Optional. Comment associated with the column.

Property Value
TypeDescription
string

CustomFeatures

public Struct CustomFeatures { get; set; }

Optional. Custom engine specific features.

Property Value
TypeDescription
Struct

DataType

public string DataType { get; set; }

Optional. Column data type name.

Property Value
TypeDescription
string

FractionalSecondsPrecision

public int FractionalSecondsPrecision { get; set; }

Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)

  • when relevant.
Property Value
TypeDescription
int

Length

public long Length { get; set; }

Optional. Column length - e.g. 50 as in varchar (50) - when relevant.

Property Value
TypeDescription
long

Nullable

public bool Nullable { get; set; }

Optional. Is the column nullable.

Property Value
TypeDescription
bool

Precision

public int Precision { get; set; }

Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.

Property Value
TypeDescription
int

Scale

public int Scale { get; set; }

Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.

Property Value
TypeDescription
int

SetValues

public RepeatedField<string> SetValues { get; }

Optional. Specifies the list of values allowed in the column.

Property Value
TypeDescription
RepeatedFieldstring

Udt

public bool Udt { get; set; }

Optional. Is the column a UDT (User-defined Type).

Property Value
TypeDescription
bool