GoogleApi.DataCatalog.V1beta1.Model.GoogleCloudDatacatalogV1beta1ColumnSchema (google_api_data_catalog v0.32.2)

View Source

Representation of a column within a schema. Columns could be nested inside other columns.

Attributes

  • column (type: String.t, default: nil) - Required. Name of the column.
  • description (type: String.t, default: nil) - Optional. Description of the column. Default value is an empty string.
  • mode (type: String.t, default: nil) - Optional. A column's mode indicates whether the values in this column are required, nullable, etc. Only NULLABLE, REQUIRED and REPEATED are supported. Default mode is NULLABLE.
  • subcolumns (type: list(GoogleApi.DataCatalog.V1beta1.Model.GoogleCloudDatacatalogV1beta1ColumnSchema.t), default: nil) - Optional. Schema of sub-columns. A column can have zero or more sub-columns.
  • type (type: String.t, default: nil) - Required. Type of the column.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataCatalog.V1beta1.Model.GoogleCloudDatacatalogV1beta1ColumnSchema{
    column: String.t() | nil,
    description: String.t() | nil,
    mode: String.t() | nil,
    subcolumns: [t()] | nil,
    type: String.t() | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.