Class MultiColumnDatatypeChange (1.9.2)

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

NameDescription
source_data_type_filter str
Required. Filter on source data type.
source_text_filter 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 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.