Class ColumnSchema (2.1.0)

public sealed class ColumnSchema : IMessage<ColumnSchema>, IEquatable<ColumnSchema>, IDeepCloneable<ColumnSchema>, IBufferMessage, IMessage

A column within a schema. Columns can be nested inside other columns.

Inheritance

Object > ColumnSchema

Namespace

Google.Cloud.DataCatalog.V1

Assembly

Google.Cloud.DataCatalog.V1.dll

Constructors

ColumnSchema()

public ColumnSchema()

ColumnSchema(ColumnSchema)

public ColumnSchema(ColumnSchema other)
Parameter
NameDescription
otherColumnSchema

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
TypeDescription
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
TypeDescription
String

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
TypeDescription
String

Subcolumns

public RepeatedField<ColumnSchema> Subcolumns { get; }

Optional. Schema of sub-columns. A column can have zero or more sub-columns.

Property Value
TypeDescription
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
TypeDescription
String