2.17.0 (latest) 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

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

Reference documentation and code samples for the Data Catalog v1 API class ColumnSchema.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ColumnSchema

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ColumnSchema](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ColumnSchema.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ColumnSchema](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ColumnSchema.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ColumnSchema](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.ColumnSchema.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DataCatalog.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.md.txt)

## Assembly

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` |   |