public sealed class ColumnSchema : IMessage<ColumnSchema>, IEquatable<ColumnSchema>, IDeepCloneable<ColumnSchema>, IBufferMessage, IMessageRepresentation of a column within a schema. Columns could be nested inside other columns.
Implements
IMessage<ColumnSchema>, IEquatable<ColumnSchema>, IDeepCloneable<ColumnSchema>, IBufferMessage, IMessageNamespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Constructors
ColumnSchema()
public ColumnSchema()ColumnSchema(ColumnSchema)
public ColumnSchema(ColumnSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
ColumnSchema |
Properties
Column
public string Column { get; set; }Required. Name of the column.
Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Description
public string Description { get; set; }Optional. Description of the column. Default value is an empty string.
The description must be a UTF-8 string with the maximum size of 2000 bytes.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Mode
public string Mode { get; set; }Optional. A column's mode indicates if values in this column are required, nullable, or repeated.
Only NULLABLE, REQUIRED, and REPEATED values are supported.
Default mode is NULLABLE.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Subcolumns
public RepeatedField<ColumnSchema> Subcolumns { get; }Optional. Schema of sub-columns. A column can have zero or more sub-columns.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<ColumnSchema> |
|
Type
public string Type { get; set; }Required. Type of the column.
Must be a UTF-8 string with the maximum size of 128 bytes.
| Property Value | |
|---|---|
| Type | Description |
String |
|