View Source GoogleApi.BigQuery.V2.Model.TableConstraints (google_api_big_query v0.79.0)

The TableConstraints defines the primary key and foreign key.

Attributes

  • foreignKeys (type: list(GoogleApi.BigQuery.V2.Model.TableConstraintsForeignKeys.t), default: nil) - Optional. Present only if the table has a foreign key. The foreign key is not enforced.
  • primaryKey (type: GoogleApi.BigQuery.V2.Model.TableConstraintsPrimaryKey.t, default: nil) - Represents the primary key constraint on a table's columns.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.TableConstraints{
  foreignKeys:
    [GoogleApi.BigQuery.V2.Model.TableConstraintsForeignKeys.t()] | nil,
  primaryKey: GoogleApi.BigQuery.V2.Model.TableConstraintsPrimaryKey.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.