# Class MultiColumnDatatypeChange (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    MultiColumnDatatypeChange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `source_data_type_filter` | `str` Required. Filter on source data type. |
| `source_text_filter` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.SourceTextFilter` Optional. Filter for text-based data types like varchar. This field is a member of `oneof`_ `source_filter`. |
| `source_numeric_filter` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.SourceNumericFilter` Optional. Filter for fixed point number data types such as NUMERIC/NUMBER. This field is a member of `oneof`_ `source_filter`. |
| `new_data_type` | `str` Required. New data type. |
| `override_length` | `int` 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. |
| `custom_features` | `google.protobuf.struct_pb2.Struct` Optional. Custom engine specific features. |