Reference documentation and code samples for the BigQuery Data Transfer V1 Client class WriteDisposition.
Options for writing to the table.
The WRITE_EMPTY option is intentionally excluded from the enum and is not supported by the data transfer service.
Protobuf type google.cloud.bigquery.datatransfer.v1.WriteDisposition
Namespace
Google \ Cloud \ BigQuery \ DataTransfer \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
WRITE_DISPOSITION_UNSPECIFIED
Value: 0
The default writeDispostion
Generated from protobuf enum WRITE_DISPOSITION_UNSPECIFIED = 0;
WRITE_TRUNCATE
Value: 1
overwrites the table data.
Generated from protobuf enum WRITE_TRUNCATE = 1;
WRITE_APPEND
Value: 2
the data is appended to the table.
Note duplication might happen if this mode is used.
Generated from protobuf enum WRITE_APPEND = 2;