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).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_features
def custom_features() -> ::Google::Protobuf::Struct
- (::Google::Protobuf::Struct) — Optional. Custom engine specific features.
#custom_features=
def custom_features=(value) -> ::Google::Protobuf::Struct
- value (::Google::Protobuf::Struct) — Optional. Custom engine specific features.
- (::Google::Protobuf::Struct) — Optional. Custom engine specific features.
#new_data_type
def new_data_type() -> ::String
- (::String) — Required. New data type.
#new_data_type=
def new_data_type=(value) -> ::String
- value (::String) — Required. New data type.
- (::String) — Required. New data type.
#override_fractional_seconds_precision
def override_fractional_seconds_precision() -> ::Integer
- (::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_fractional_seconds_precision=
def override_fractional_seconds_precision=(value) -> ::Integer
- 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.
- (::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
def override_length() -> ::Integer
- (::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
#override_length=
def override_length=(value) -> ::Integer
- value (::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
- (::Integer) — Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
#override_precision
def override_precision() -> ::Integer
- (::Integer) — Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
#override_precision=
def override_precision=(value) -> ::Integer
- value (::Integer) — Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
- (::Integer) — Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
#override_scale
def override_scale() -> ::Integer
- (::Integer) — Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
#override_scale=
def override_scale=(value) -> ::Integer
- value (::Integer) — Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
- (::Integer) — Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
#source_data_type_filter
def source_data_type_filter() -> ::String
- (::String) — Required. Filter on source data type.
#source_data_type_filter=
def source_data_type_filter=(value) -> ::String
- value (::String) — Required. Filter on source data type.
- (::String) — Required. Filter on source data type.
#source_numeric_filter
def source_numeric_filter() -> ::Google::Cloud::CloudDMS::V1::SourceNumericFilter
- (::Google::Cloud::CloudDMS::V1::SourceNumericFilter) — Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
#source_numeric_filter=
def source_numeric_filter=(value) -> ::Google::Cloud::CloudDMS::V1::SourceNumericFilter
- value (::Google::Cloud::CloudDMS::V1::SourceNumericFilter) — Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
- (::Google::Cloud::CloudDMS::V1::SourceNumericFilter) — Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
#source_text_filter
def source_text_filter() -> ::Google::Cloud::CloudDMS::V1::SourceTextFilter
- (::Google::Cloud::CloudDMS::V1::SourceTextFilter) — Optional. Filter for text-based data types like varchar.
#source_text_filter=
def source_text_filter=(value) -> ::Google::Cloud::CloudDMS::V1::SourceTextFilter
- value (::Google::Cloud::CloudDMS::V1::SourceTextFilter) — Optional. Filter for text-based data types like varchar.
- (::Google::Cloud::CloudDMS::V1::SourceTextFilter) — Optional. Filter for text-based data types like varchar.