Class ColumnEntity
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ColumnEntity : IDirectResponseSchema
Properties
Array
Is the column of array type.
Declaration
[JsonProperty("array")]
public virtual bool? Array { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ArrayLength
If the column is array, of which length.
Declaration
[JsonProperty("arrayLength")]
public virtual int? ArrayLength { get; set; }
Property Value
Type | Description |
---|---|
int? |
AutoGenerated
Is the column auto-generated/identity.
Declaration
[JsonProperty("autoGenerated")]
public virtual bool? AutoGenerated { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Charset
Charset override - instead of table level charset.
Declaration
[JsonProperty("charset")]
public virtual string Charset { get; set; }
Property Value
Type | Description |
---|---|
string |
Collation
Collation override - instead of table level collation.
Declaration
[JsonProperty("collation")]
public virtual string Collation { get; set; }
Property Value
Type | Description |
---|---|
string |
Comment
Comment associated with the column.
Declaration
[JsonProperty("comment")]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomFeatures
Custom engine specific features.
Declaration
[JsonProperty("customFeatures")]
public virtual IDictionary<string, object> CustomFeatures { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
DataType
Column data type.
Declaration
[JsonProperty("dataType")]
public virtual string DataType { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultValue
Default value of the column.
Declaration
[JsonProperty("defaultValue")]
public virtual string DefaultValue { 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
Column fractional second precision - used for timestamp based datatypes.
Declaration
[JsonProperty("fractionalSecondsPrecision")]
public virtual int? FractionalSecondsPrecision { get; set; }
Property Value
Type | Description |
---|---|
int? |
Length
Column length - e.g. varchar (50).
Declaration
[JsonProperty("length")]
public virtual long? Length { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
Column name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Nullable
Is the column nullable.
Declaration
[JsonProperty("nullable")]
public virtual bool? Nullable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
OrdinalPosition
Column order in the table.
Declaration
[JsonProperty("ordinalPosition")]
public virtual int? OrdinalPosition { get; set; }
Property Value
Type | Description |
---|---|
int? |
Precision
Column precision - when relevant.
Declaration
[JsonProperty("precision")]
public virtual int? Precision { get; set; }
Property Value
Type | Description |
---|---|
int? |
Scale
Column scale - when relevant.
Declaration
[JsonProperty("scale")]
public virtual int? Scale { get; set; }
Property Value
Type | Description |
---|---|
int? |
SetValues
Specifies the list of values allowed in the column. Only used for set data type.
Declaration
[JsonProperty("setValues")]
public virtual IList<string> SetValues { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Udt
Is the column a UDT.
Declaration
[JsonProperty("udt")]
public virtual bool? Udt { get; set; }
Property Value
Type | Description |
---|---|
bool? |