Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::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).
(::Integer) — Optional. Column fractional seconds precision - used only for timestamp
based datatypes - if not specified and relevant uses the source column
fractional seconds precision.
value (::Integer) — Optional. Column fractional seconds precision - used only for timestamp
based datatypes - if not specified and relevant uses the source column
fractional seconds precision.
Returns
(::Integer) — Optional. Column fractional seconds precision - used only for timestamp
based datatypes - if not specified and relevant uses the source column
fractional seconds precision.
#override_length
defoverride_length()->::Integer
Returns
(::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant
uses the source column length.
#override_length=
defoverride_length=(value)->::Integer
Parameter
value (::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant
uses the source column length.
Returns
(::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant
uses the source column length.
#override_precision
defoverride_precision()->::Integer
Returns
(::Integer) — Optional. Column precision - when relevant - if not specified and relevant
uses the source column precision.
#override_precision=
defoverride_precision=(value)->::Integer
Parameter
value (::Integer) — Optional. Column precision - when relevant - if not specified and relevant
uses the source column precision.
Returns
(::Integer) — Optional. Column precision - when relevant - if not specified and relevant
uses the source column precision.
#override_scale
defoverride_scale()->::Integer
Returns
(::Integer) — Optional. Column scale - when relevant - if not specified and relevant
uses the source column scale.
#override_scale=
defoverride_scale=(value)->::Integer
Parameter
value (::Integer) — Optional. Column scale - when relevant - if not specified and relevant
uses the source column scale.
Returns
(::Integer) — Optional. Column scale - when relevant - if not specified and relevant
uses the source column scale.
#source_data_type_filter
defsource_data_type_filter()->::String
Returns
(::String) — Required. Filter on source data type.
#source_data_type_filter=
defsource_data_type_filter=(value)->::String
Parameter
value (::String) — Required. Filter on source data type.
Returns
(::String) — Required. Filter on source data type.
Note: The following fields are mutually exclusive: source_numeric_filter, source_text_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: source_numeric_filter, source_text_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: source_numeric_filter, source_text_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: source_text_filter, source_numeric_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: source_text_filter, source_numeric_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: source_text_filter, source_numeric_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["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-09 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::MultiColumnDatatypeChange (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-MultiColumnDatatypeChange) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::MultiColumnDatatypeChange.\n\nOptions to configure rule type MultiColumnDatatypeChange.\nThe rule is used to change the data type and associated properties of\nmultiple columns at once.\n\n\nThe rule filter field can refer to one or more entities.\n\nThe rule scope can be one of:Column.\n\n\u003cbr /\u003e\n\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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #custom_features\n\n def custom_features() -\u003e ::Google::Protobuf::Struct\n\n**Returns**\n\n- ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Optional. Custom engine specific features.\n\n### #custom_features=\n\n def custom_features=(value) -\u003e ::Google::Protobuf::Struct\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Optional. Custom engine specific features. \n**Returns**\n\n- ([::Google::Protobuf::Struct](./Google-Protobuf-Struct)) --- Optional. Custom engine specific features.\n\n### #new_data_type\n\n def new_data_type() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. New data type.\n\n### #new_data_type=\n\n def new_data_type=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. New data type. \n**Returns**\n\n- (::String) --- Required. New data type.\n\n### #override_fractional_seconds_precision\n\n def override_fractional_seconds_precision() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.\n\n### #override_fractional_seconds_precision=\n\n def override_fractional_seconds_precision=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision. \n**Returns**\n\n- (::Integer) --- Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.\n\n### #override_length\n\n def override_length() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.\n\n### #override_length=\n\n def override_length=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length. \n**Returns**\n\n- (::Integer) --- Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.\n\n### #override_precision\n\n def override_precision() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.\n\n### #override_precision=\n\n def override_precision=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Column precision - when relevant - if not specified and relevant uses the source column precision. \n**Returns**\n\n- (::Integer) --- Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.\n\n### #override_scale\n\n def override_scale() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.\n\n### #override_scale=\n\n def override_scale=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Column scale - when relevant - if not specified and relevant uses the source column scale. \n**Returns**\n\n- (::Integer) --- Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.\n\n### #source_data_type_filter\n\n def source_data_type_filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Filter on source data type.\n\n### #source_data_type_filter=\n\n def source_data_type_filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Filter on source data type. \n**Returns**\n\n- (::String) --- Required. Filter on source data type.\n\n### #source_numeric_filter\n\n def source_numeric_filter() -\u003e ::Google::Cloud::CloudDMS::V1::SourceNumericFilter\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::SourceNumericFilter](./Google-Cloud-CloudDMS-V1-SourceNumericFilter)) --- Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.\n\n\n Note: The following fields are mutually exclusive: `source_numeric_filter`, `source_text_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #source_numeric_filter=\n\n def source_numeric_filter=(value) -\u003e ::Google::Cloud::CloudDMS::V1::SourceNumericFilter\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::SourceNumericFilter](./Google-Cloud-CloudDMS-V1-SourceNumericFilter)) --- Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.\n\n\nNote: The following fields are mutually exclusive: `source_numeric_filter`, `source_text_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::SourceNumericFilter](./Google-Cloud-CloudDMS-V1-SourceNumericFilter)) --- Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.\n\n\n Note: The following fields are mutually exclusive: `source_numeric_filter`, `source_text_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #source_text_filter\n\n def source_text_filter() -\u003e ::Google::Cloud::CloudDMS::V1::SourceTextFilter\n\n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::SourceTextFilter](./Google-Cloud-CloudDMS-V1-SourceTextFilter)) --- Optional. Filter for text-based data types like varchar.\n\n\n Note: The following fields are mutually exclusive: `source_text_filter`, `source_numeric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #source_text_filter=\n\n def source_text_filter=(value) -\u003e ::Google::Cloud::CloudDMS::V1::SourceTextFilter\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CloudDMS::V1::SourceTextFilter](./Google-Cloud-CloudDMS-V1-SourceTextFilter)) --- Optional. Filter for text-based data types like varchar.\n\n\nNote: The following fields are mutually exclusive: `source_text_filter`, `source_numeric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::CloudDMS::V1::SourceTextFilter](./Google-Cloud-CloudDMS-V1-SourceTextFilter)) --- Optional. Filter for text-based data types like varchar.\n\n\n Note: The following fields are mutually exclusive: `source_text_filter`, `source_numeric_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]