package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. createDisposition : string;
    (*

    [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.

    *)
  2. destinationTable : TableReference.t;
    (*

    [Required] The destination table

    *)
  3. sourceTable : TableReference.t;
    (*

    [Pick one] Source table to copy.

    *)
  4. sourceTables : TableReference.t list;
    (*

    [Pick one] Source tables to copy.

    *)
  5. writeDisposition : string;
    (*

    [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.

    *)
}
val createDisposition : (t, string) GapiLens.t
val destinationTable : (t, TableReference.t) GapiLens.t
val sourceTable : (t, TableReference.t) GapiLens.t
val sourceTables : (t, TableReference.t list) GapiLens.t
val writeDisposition : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t