GoogleApi.BigQuery.V2.Model.JobConfigurationTableCopy (google_api_big_query v0.70.1) View Source

Attributes

  • createDisposition (type: String.t, default: nil) - [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
  • destinationEncryptionConfiguration (type: GoogleApi.BigQuery.V2.Model.EncryptionConfiguration.t, default: nil) - Custom encryption configuration (e.g., Cloud KMS keys).
  • destinationExpirationTime (type: any(), default: nil) - [Optional] The time when the destination table expires. Expired tables will be deleted and their storage reclaimed.
  • destinationTable (type: GoogleApi.BigQuery.V2.Model.TableReference.t, default: nil) - [Required] The destination table
  • operationType (type: String.t, default: nil) - [Optional] Supported operation types in table copy job.
  • sourceTable (type: GoogleApi.BigQuery.V2.Model.TableReference.t, default: nil) - [Pick one] Source table to copy.
  • sourceTables (type: list(GoogleApi.BigQuery.V2.Model.TableReference.t), default: nil) - [Pick one] Source tables to copy.
  • writeDisposition (type: String.t, default: nil) - [Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.BigQuery.V2.Model.JobConfigurationTableCopy{
  createDisposition: String.t() | nil,
  destinationEncryptionConfiguration:
    GoogleApi.BigQuery.V2.Model.EncryptionConfiguration.t() | nil,
  destinationExpirationTime: any() | nil,
  destinationTable: GoogleApi.BigQuery.V2.Model.TableReference.t() | nil,
  operationType: String.t() | nil,
  sourceTable: GoogleApi.BigQuery.V2.Model.TableReference.t() | nil,
  sourceTables: [GoogleApi.BigQuery.V2.Model.TableReference.t()] | nil,
  writeDisposition: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.