public sealed class ColumnSchema : IMessage<ColumnSchema>, IEquatable<ColumnSchema>, IDeepCloneable<ColumnSchema>, IBufferMessage, IMessageReference documentation and code samples for the Data Catalog v1 API class ColumnSchema.
A column within a schema. Columns can be nested inside other columns.
Implements
IMessageColumnSchema, IEquatableColumnSchema, IDeepCloneableColumnSchema, 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 |
|
DefaultValue
public string DefaultValue { get; set; }Optional. Default value for the column.
| 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 |
|
GcRule
public string GcRule { get; set; }Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HighestIndexingType
public ColumnSchema.Types.IndexingType HighestIndexingType { get; set; }Optional. Most important inclusion of this column.
| Property Value | |
|---|---|
| Type | Description |
ColumnSchemaTypesIndexingType |
|
LookerColumnSpec
public ColumnSchema.Types.LookerColumnSpec LookerColumnSpec { get; set; }Looker specific column info of this column.
| Property Value | |
|---|---|
| Type | Description |
ColumnSchemaTypesLookerColumnSpec |
|
Mode
public string Mode { get; set; }Optional. A column's mode indicates whether 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 |
|
OrdinalPosition
public int OrdinalPosition { get; set; }Optional. Ordinal position
| Property Value | |
|---|---|
| Type | Description |
int |
|
RangeElementType
public ColumnSchema.Types.FieldElementType RangeElementType { get; set; }Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include:
- DATE
- DATETIME
- TIMESTAMP
| Property Value | |
|---|---|
| Type | Description |
ColumnSchemaTypesFieldElementType |
|
Subcolumns
public RepeatedField<ColumnSchema> Subcolumns { get; }Optional. Schema of sub-columns. A column can have zero or more sub-columns.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldColumnSchema |
|
SystemSpecCase
public ColumnSchema.SystemSpecOneofCase SystemSpecCase { get; }| Property Value | |
|---|---|
| Type | Description |
ColumnSchemaSystemSpecOneofCase |
|
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 |
|