Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::SingleColumnChange (v1.1.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::SingleColumnChange.

Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column.

The rule filter field can refer to one entity.

The rule scope can be one of: Column.

When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#array

def array() -> ::Boolean
Returns
  • (::Boolean) — Optional. Is the column of array type.

#array=

def array=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Is the column of array type.
Returns
  • (::Boolean) — Optional. Is the column of array type.

#array_length

def array_length() -> ::Integer
Returns
  • (::Integer) — Optional. The length of the array, only relevant if the column type is an array.

#array_length=

def array_length=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The length of the array, only relevant if the column type is an array.
Returns
  • (::Integer) — Optional. The length of the array, only relevant if the column type is an array.

#auto_generated

def auto_generated() -> ::Boolean
Returns
  • (::Boolean) — Optional. Is the column auto-generated/identity.

#auto_generated=

def auto_generated=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Is the column auto-generated/identity.
Returns
  • (::Boolean) — Optional. Is the column auto-generated/identity.

#charset

def charset() -> ::String
Returns
  • (::String) — Optional. Charset override - instead of table level charset.

#charset=

def charset=(value) -> ::String
Parameter
  • value (::String) — Optional. Charset override - instead of table level charset.
Returns
  • (::String) — Optional. Charset override - instead of table level charset.

#collation

def collation() -> ::String
Returns
  • (::String) — Optional. Collation override - instead of table level collation.

#collation=

def collation=(value) -> ::String
Parameter
  • value (::String) — Optional. Collation override - instead of table level collation.
Returns
  • (::String) — Optional. Collation override - instead of table level collation.

#comment

def comment() -> ::String
Returns
  • (::String) — Optional. Comment associated with the column.

#comment=

def comment=(value) -> ::String
Parameter
  • value (::String) — Optional. Comment associated with the column.
Returns
  • (::String) — Optional. Comment associated with the column.

#custom_features

def custom_features() -> ::Google::Protobuf::Struct
Returns

#custom_features=

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

#data_type

def data_type() -> ::String
Returns
  • (::String) — Optional. Column data type name.

#data_type=

def data_type=(value) -> ::String
Parameter
  • value (::String) — Optional. Column data type name.
Returns
  • (::String) — Optional. Column data type name.

#fractional_seconds_precision

def fractional_seconds_precision() -> ::Integer
Returns
  • (::Integer) —

    Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)

    • when relevant.

#fractional_seconds_precision=

def fractional_seconds_precision=(value) -> ::Integer
Parameter
  • value (::Integer) —

    Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)

    • when relevant.
Returns
  • (::Integer) —

    Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)

    • when relevant.

#length

def length() -> ::Integer
Returns
  • (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.

#length=

def length=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
Returns
  • (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.

#nullable

def nullable() -> ::Boolean
Returns
  • (::Boolean) — Optional. Is the column nullable.

#nullable=

def nullable=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Is the column nullable.
Returns
  • (::Boolean) — Optional. Is the column nullable.

#precision

def precision() -> ::Integer
Returns
  • (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.

#precision=

def precision=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
Returns
  • (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.

#scale

def scale() -> ::Integer
Returns
  • (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.

#scale=

def scale=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
Returns
  • (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.

#set_values

def set_values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Specifies the list of values allowed in the column.

#set_values=

def set_values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Specifies the list of values allowed in the column.
Returns
  • (::Array<::String>) — Optional. Specifies the list of values allowed in the column.

#udt

def udt() -> ::Boolean
Returns
  • (::Boolean) — Optional. Is the column a UDT (User-defined Type).

#udt=

def udt=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Is the column a UDT (User-defined Type).
Returns
  • (::Boolean) — Optional. Is the column a UDT (User-defined Type).