Reference documentation and code samples for the Google Cloud Dms V1 Client class 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..
Generated from protobuf message google.cloud.clouddms.v1.SingleColumnChange
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ data_type
string
Optional. Column data type name.
↳ charset
string
Optional. Charset override - instead of table level charset.
↳ collation
string
Optional. Collation override - instead of table level collation.
↳ length
int|string
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
↳ precision
int
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
↳ scale
int
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
↳ fractional_seconds_precision
int
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
↳ array
bool
Optional. Is the column of array type.
↳ array_length
int
Optional. The length of the array, only relevant if the column type is an array.
↳ nullable
bool
Optional. Is the column nullable.
↳ auto_generated
bool
Optional. Is the column auto-generated/identity.
↳ udt
bool
Optional. Is the column a UDT (User-defined Type).
↳ custom_features
↳ set_values
array
Optional. Specifies the list of values allowed in the column.
↳ comment
string
Optional. Comment associated with the column.
getDataType
Optional. Column data type name.
string
setDataType
Optional. Column data type name.
var
string
$this
getCharset
Optional. Charset override - instead of table level charset.
string
setCharset
Optional. Charset override - instead of table level charset.
var
string
$this
getCollation
Optional. Collation override - instead of table level collation.
string
setCollation
Optional. Collation override - instead of table level collation.
var
string
$this
getLength
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int|string
setLength
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
var
int|string
$this
getPrecision
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int
setPrecision
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
var
int
$this
getScale
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int
setScale
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
var
int
$this
getFractionalSecondsPrecision
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
int
setFractionalSecondsPrecision
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
var
int
$this
getArray
Optional. Is the column of array type.
bool
setArray
Optional. Is the column of array type.
var
bool
$this
getArrayLength
Optional. The length of the array, only relevant if the column type is an array.
int
setArrayLength
Optional. The length of the array, only relevant if the column type is an array.
var
int
$this
getNullable
Optional. Is the column nullable.
bool
setNullable
Optional. Is the column nullable.
var
bool
$this
getAutoGenerated
Optional. Is the column auto-generated/identity.
bool
setAutoGenerated
Optional. Is the column auto-generated/identity.
var
bool
$this
getUdt
Optional. Is the column a UDT (User-defined Type).
bool
setUdt
Optional. Is the column a UDT (User-defined Type).
var
bool
$this
getCustomFeatures
Optional. Custom engine specific features.
hasCustomFeatures
clearCustomFeatures
setCustomFeatures
Optional. Custom engine specific features.
$this
getSetValues
Optional. Specifies the list of values allowed in the column.
setSetValues
Optional. Specifies the list of values allowed in the column.
var
string[]
$this
getComment
Optional. Comment associated with the column.
string
setComment
Optional. Comment associated with the column.
var
string
$this