View Source GoogleApi.DataMigration.V1.Model.SetTablePrimaryKey (google_api_data_migration v0.15.0)

Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table. The rule filter field can refer to one entity. The rule scope can be one of: Table.

Attributes

  • primaryKey (type: String.t, default: nil) - Optional. Name for the primary key
  • primaryKeyColumns (type: list(String.t), default: nil) - Required. List of column names for the primary key

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DataMigration.V1.Model.SetTablePrimaryKey{
  primaryKey: String.t() | nil,
  primaryKeyColumns: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.