# Google Cloud Capacity Planner V1beta Client - Class WriteDisposition (0.1.2)

0.1.2 (latest) 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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;`