Reference documentation and code samples for the Google Cloud Dms V1 Client 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).
Generated from protobuf messagegoogle.cloud.clouddms.v1.MultiColumnDatatypeChange
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
↳ new_data_type
string
Required. New data type.
↳ override_length
int|string
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
↳ override_scale
int
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
↳ override_precision
int
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
↳ override_fractional_seconds_precision
int
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
Optional. Column length - e.g. varchar (50) - if not specified and relevant
uses the source column length.
Returns
Type
Description
int|string
setOverrideLength
Optional. Column length - e.g. varchar (50) - if not specified and relevant
uses the source column length.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getOverrideScale
Optional. Column scale - when relevant - if not specified and relevant
uses the source column scale.
Returns
Type
Description
int
setOverrideScale
Optional. Column scale - when relevant - if not specified and relevant
uses the source column scale.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getOverridePrecision
Optional. Column precision - when relevant - if not specified and relevant
uses the source column precision.
Returns
Type
Description
int
setOverridePrecision
Optional. Column precision - when relevant - if not specified and relevant
uses the source column precision.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getOverrideFractionalSecondsPrecision
Optional. Column fractional seconds precision - used only for timestamp
based datatypes - if not specified and relevant uses the source column
fractional seconds precision.
Returns
Type
Description
int
setOverrideFractionalSecondsPrecision
Optional. Column fractional seconds precision - used only for timestamp
based datatypes - if not specified and relevant uses the source column
fractional seconds precision.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class MultiColumnDatatypeChange (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.MultiColumnDatatypeChange)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.MultiColumnDatatypeChange)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.MultiColumnDatatypeChange)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.MultiColumnDatatypeChange)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.MultiColumnDatatypeChange)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.MultiColumnDatatypeChange)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.MultiColumnDatatypeChange)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.MultiColumnDatatypeChange) \nReference documentation and code samples for the Google Cloud Dms V1 Client class MultiColumnDatatypeChange.\n\nOptions to configure rule type MultiColumnDatatypeChange.\n\nThe rule is used to change the data type and associated properties of\nmultiple columns at once.\nThe rule filter field can refer to one or more entities.\nThe rule scope can be one of:Column.\nThis rule requires additional filters to be specified beyond the basic rule\nfilter field, which is the source data type, but the rule supports additional\nfiltering capabilities such as the minimum and maximum field length. All\nadditional filters which are specified are required to be met in order for\nthe rule to be applied (logical AND between the fields).\n\nGenerated from protobuf message `google.cloud.clouddms.v1.MultiColumnDatatypeChange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceDataTypeFilter\n\nRequired. Filter on source data type.\n\n### setSourceDataTypeFilter\n\nRequired. Filter on source data type.\n\n### getSourceTextFilter\n\nOptional. Filter for text-based data types like varchar.\n\n### hasSourceTextFilter\n\n### setSourceTextFilter\n\nOptional. Filter for text-based data types like varchar.\n\n### getSourceNumericFilter\n\nOptional. Filter for fixed point number data types such as\nNUMERIC/NUMBER.\n\n### hasSourceNumericFilter\n\n### setSourceNumericFilter\n\nOptional. Filter for fixed point number data types such as\nNUMERIC/NUMBER.\n\n### getNewDataType\n\nRequired. New data type.\n\n### setNewDataType\n\nRequired. New data type.\n\n### getOverrideLength\n\nOptional. Column length - e.g. varchar (50) - if not specified and relevant\nuses the source column length.\n\n### setOverrideLength\n\nOptional. Column length - e.g. varchar (50) - if not specified and relevant\nuses the source column length.\n\n### getOverrideScale\n\nOptional. Column scale - when relevant - if not specified and relevant\nuses the source column scale.\n\n### setOverrideScale\n\nOptional. Column scale - when relevant - if not specified and relevant\nuses the source column scale.\n\n### getOverridePrecision\n\nOptional. Column precision - when relevant - if not specified and relevant\nuses the source column precision.\n\n### setOverridePrecision\n\nOptional. Column precision - when relevant - if not specified and relevant\nuses the source column precision.\n\n### getOverrideFractionalSecondsPrecision\n\nOptional. Column fractional seconds precision - used only for timestamp\nbased datatypes - if not specified and relevant uses the source column\nfractional seconds precision.\n\n### setOverrideFractionalSecondsPrecision\n\nOptional. Column fractional seconds precision - used only for timestamp\nbased datatypes - if not specified and relevant uses the source column\nfractional seconds precision.\n\n### getCustomFeatures\n\nOptional. Custom engine specific features.\n\n### hasCustomFeatures\n\n### clearCustomFeatures\n\n### setCustomFeatures\n\nOptional. Custom engine specific features.\n\n### getSourceFilter"]]