Database Migration v1 API - Class MultiColumnDatatypeChange (2.5.0)

public sealed class MultiColumnDatatypeChange : IMessage<MultiColumnDatatypeChange>, IEquatable<MultiColumnDatatypeChange>, IDeepCloneable<MultiColumnDatatypeChange>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class MultiColumnDatatypeChange.

Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once.

The rule filter field can refer to one or more entities.

The rule scope can be one of:Column.

This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).

Inheritance

object > MultiColumnDatatypeChange

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

MultiColumnDatatypeChange()

public MultiColumnDatatypeChange()

MultiColumnDatatypeChange(MultiColumnDatatypeChange)

public MultiColumnDatatypeChange(MultiColumnDatatypeChange other)
Parameter
Name Description
other MultiColumnDatatypeChange

Properties

CustomFeatures

public Struct CustomFeatures { get; set; }

Optional. Custom engine specific features.

Property Value
Type Description
Struct

NewDataType

public string NewDataType { get; set; }

Required. New data type.

Property Value
Type Description
string

OverrideFractionalSecondsPrecision

public int OverrideFractionalSecondsPrecision { get; set; }

Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.

Property Value
Type Description
int

OverrideLength

public long OverrideLength { get; set; }

Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.

Property Value
Type Description
long

OverridePrecision

public int OverridePrecision { get; set; }

Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.

Property Value
Type Description
int

OverrideScale

public int OverrideScale { get; set; }

Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.

Property Value
Type Description
int

SourceDataTypeFilter

public string SourceDataTypeFilter { get; set; }

Required. Filter on source data type.

Property Value
Type Description
string

SourceFilterCase

public MultiColumnDatatypeChange.SourceFilterOneofCase SourceFilterCase { get; }
Property Value
Type Description
MultiColumnDatatypeChangeSourceFilterOneofCase

SourceNumericFilter

public SourceNumericFilter SourceNumericFilter { get; set; }

Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.

Property Value
Type Description
SourceNumericFilter

SourceTextFilter

public SourceTextFilter SourceTextFilter { get; set; }

Optional. Filter for text-based data types like varchar.

Property Value
Type Description
SourceTextFilter