Google Cloud Capacity Planner V1beta Client - Class WriteDisposition (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class WriteDisposition.

Specifies the action that occurs if the destination table or partition already exists. By default, the data will be appended to the existing table.

Protobuf type google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta \ BigQueryDestination

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

WRITE_DISPOSITION_UNSPECIFIED

Value: 0

Unspecified write disposition.

Generated from protobuf enum WRITE_DISPOSITION_UNSPECIFIED = 0;

WRITE_APPEND

Value: 1

If the table or partition already exists, BigQuery appends the data to the table or the latest partition.

Generated from protobuf enum WRITE_APPEND = 1;

WRITE_TRUNCATE

Value: 2

If the table or partition already exists, BigQuery overwrites the entire table or all the partitions data.

Generated from protobuf enum WRITE_TRUNCATE = 2;

WRITE_EMPTY

Value: 3

If the table already exists and contains data, an error is returned.

Generated from protobuf enum WRITE_EMPTY = 3;