Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::MultiColumnDatatypeChange (v0.6.0)

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
Returns

#custom_features=

def custom_features=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#new_data_type

def new_data_type() -> ::String
Returns
  • (::String) — Required. New data type.

#new_data_type=

def new_data_type=(value) -> ::String
Parameter
  • value (::String) — Required. New data type.
Returns
  • (::String) — Required. New data type.

#override_fractional_seconds_precision

def override_fractional_seconds_precision() -> ::Integer
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_fractional_seconds_precision=

def override_fractional_seconds_precision=(value) -> ::Integer
Parameter
  • 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

def override_length() -> ::Integer
Returns
  • (::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
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

def override_precision() -> ::Integer
Returns
  • (::Integer) — Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.

#override_precision=

def override_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

def override_scale() -> ::Integer
Returns
  • (::Integer) — Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.

#override_scale=

def override_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

def source_data_type_filter() -> ::String
Returns
  • (::String) — Required. Filter on source data type.

#source_data_type_filter=

def source_data_type_filter=(value) -> ::String
Parameter
  • value (::String) — Required. Filter on source data type.
Returns
  • (::String) — Required. Filter on source data type.

#source_numeric_filter

def source_numeric_filter() -> ::Google::Cloud::CloudDMS::V1::SourceNumericFilter
Returns

#source_numeric_filter=

def source_numeric_filter=(value) -> ::Google::Cloud::CloudDMS::V1::SourceNumericFilter
Parameter
Returns

#source_text_filter

def source_text_filter() -> ::Google::Cloud::CloudDMS::V1::SourceTextFilter
Returns

#source_text_filter=

def source_text_filter=(value) -> ::Google::Cloud::CloudDMS::V1::SourceTextFilter
Parameter
Returns