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
- (::Boolean) — Optional. Is the column of array type.
#array=
def array=(value) -> ::Boolean
- value (::Boolean) — Optional. Is the column of array type.
- (::Boolean) — Optional. Is the column of array type.
#array_length
def array_length() -> ::Integer
- (::Integer) — Optional. The length of the array, only relevant if the column type is an array.
#array_length=
def array_length=(value) -> ::Integer
- value (::Integer) — Optional. The length of the array, only relevant if the column type is an array.
- (::Integer) — Optional. The length of the array, only relevant if the column type is an array.
#auto_generated
def auto_generated() -> ::Boolean
- (::Boolean) — Optional. Is the column auto-generated/identity.
#auto_generated=
def auto_generated=(value) -> ::Boolean
- value (::Boolean) — Optional. Is the column auto-generated/identity.
- (::Boolean) — Optional. Is the column auto-generated/identity.
#charset
def charset() -> ::String
- (::String) — Optional. Charset override - instead of table level charset.
#charset=
def charset=(value) -> ::String
- value (::String) — Optional. Charset override - instead of table level charset.
- (::String) — Optional. Charset override - instead of table level charset.
#collation
def collation() -> ::String
- (::String) — Optional. Collation override - instead of table level collation.
#collation=
def collation=(value) -> ::String
- value (::String) — Optional. Collation override - instead of table level collation.
- (::String) — Optional. Collation override - instead of table level collation.
#comment
def comment() -> ::String
- (::String) — Optional. Comment associated with the column.
#comment=
def comment=(value) -> ::String
- value (::String) — Optional. Comment associated with the column.
- (::String) — Optional. Comment associated with the column.
#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.
#data_type
def data_type() -> ::String
- (::String) — Optional. Column data type name.
#data_type=
def data_type=(value) -> ::String
- value (::String) — Optional. Column data type name.
- (::String) — Optional. Column data type name.
#fractional_seconds_precision
def fractional_seconds_precision() -> ::Integer
-
(::Integer) —
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
#fractional_seconds_precision=
def fractional_seconds_precision=(value) -> ::Integer
-
value (::Integer) —
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
-
(::Integer) —
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
#length
def length() -> ::Integer
- (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
#length=
def length=(value) -> ::Integer
- value (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
- (::Integer) — Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
#nullable
def nullable() -> ::Boolean
- (::Boolean) — Optional. Is the column nullable.
#nullable=
def nullable=(value) -> ::Boolean
- value (::Boolean) — Optional. Is the column nullable.
- (::Boolean) — Optional. Is the column nullable.
#precision
def precision() -> ::Integer
- (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
#precision=
def precision=(value) -> ::Integer
- value (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
- (::Integer) — Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
#scale
def scale() -> ::Integer
- (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
#scale=
def scale=(value) -> ::Integer
- value (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
- (::Integer) — Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
#set_values
def set_values() -> ::Array<::String>
- (::Array<::String>) — Optional. Specifies the list of values allowed in the column.
#set_values=
def set_values=(value) -> ::Array<::String>
- value (::Array<::String>) — Optional. Specifies the list of values allowed in the column.
- (::Array<::String>) — Optional. Specifies the list of values allowed in the column.
#udt
def udt() -> ::Boolean
- (::Boolean) — Optional. Is the column a UDT (User-defined Type).
#udt=
def udt=(value) -> ::Boolean
- value (::Boolean) — Optional. Is the column a UDT (User-defined Type).
- (::Boolean) — Optional. Is the column a UDT (User-defined Type).