Database Migration v1 API - Class SingleColumnChange (2.4.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
Name Description
other SingleColumnChange

Properties

Array

public bool Array { get; set; }

Optional. Is the column of array type.

Property Value
Type Description
bool

ArrayLength

public int ArrayLength { get; set; }

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

Property Value
Type Description
int

AutoGenerated

public bool AutoGenerated { get; set; }

Optional. Is the column auto-generated/identity.

Property Value
Type Description
bool

Charset

public string Charset { get; set; }

Optional. Charset override - instead of table level charset.

Property Value
Type Description
string

Collation

public string Collation { get; set; }

Optional. Collation override - instead of table level collation.

Property Value
Type Description
string

Comment

public string Comment { get; set; }

Optional. Comment associated with the column.

Property Value
Type Description
string

CustomFeatures

public Struct CustomFeatures { get; set; }

Optional. Custom engine specific features.

Property Value
Type Description
Struct

DataType

public string DataType { get; set; }

Optional. Column data type name.

Property Value
Type Description
string

FractionalSecondsPrecision

public int FractionalSecondsPrecision { get; set; }

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

  • when relevant.
Property Value
Type Description
int

Length

public long Length { get; set; }

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

Property Value
Type Description
long

Nullable

public bool Nullable { get; set; }

Optional. Is the column nullable.

Property Value
Type Description
bool

Precision

public int Precision { get; set; }

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

Property Value
Type Description
int

Scale

public int Scale { get; set; }

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

Property Value
Type Description
int

SetValues

public RepeatedField<string> SetValues { get; }

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

Property Value
Type Description
RepeatedFieldstring

Udt

public bool Udt { get; set; }

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

Property Value
Type Description
bool