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..
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class SingleColumnChange : IDirectResponseSchema
Properties
Array
Optional. Is the column of array type.
Declaration
[JsonProperty("array")]
public virtual bool? Array { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ArrayLength
Optional. The length of the array, only relevant if the column type is an array.
Declaration
[JsonProperty("arrayLength")]
public virtual int? ArrayLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
AutoGenerated
Optional. Is the column auto-generated/identity.
Declaration
[JsonProperty("autoGenerated")]
public virtual bool? AutoGenerated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Charset
Optional. Charset override - instead of table level charset.
Declaration
[JsonProperty("charset")]
public virtual string Charset { get; set; }
Property Value
Type | Description |
---|---|
string |
Collation
Optional. Collation override - instead of table level collation.
Declaration
[JsonProperty("collation")]
public virtual string Collation { get; set; }
Property Value
Type | Description |
---|---|
string |
Comment
Optional. Comment associated with the column.
Declaration
[JsonProperty("comment")]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomFeatures
Optional. Custom engine specific features.
Declaration
[JsonProperty("customFeatures")]
public virtual IDictionary<string, object> CustomFeatures { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
DataType
Optional. Column data type name.
Declaration
[JsonProperty("dataType")]
public virtual string DataType { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FractionalSecondsPrecision
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
Declaration
[JsonProperty("fractionalSecondsPrecision")]
public virtual int? FractionalSecondsPrecision { get; set; }
Property Value
Type | Description |
---|---|
int? |
Length
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
Declaration
[JsonProperty("length")]
public virtual long? Length { get; set; }
Property Value
Type | Description |
---|---|
long? |
Nullable
Optional. Is the column nullable.
Declaration
[JsonProperty("nullable")]
public virtual bool? Nullable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Precision
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
Declaration
[JsonProperty("precision")]
public virtual int? Precision { get; set; }
Property Value
Type | Description |
---|---|
int? |
Scale
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
Declaration
[JsonProperty("scale")]
public virtual int? Scale { get; set; }
Property Value
Type | Description |
---|---|
int? |
SetValues
Optional. Specifies the list of values allowed in the column.
Declaration
[JsonProperty("setValues")]
public virtual IList<string> SetValues { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Udt
Optional. Is the column a UDT (User-defined Type).
Declaration
[JsonProperty("udt")]
public virtual bool? Udt { get; set; }
Property Value
Type | Description |
---|---|
bool? |