# Capacity Planner v1beta API - Class BigQueryDestination (1.0.0-beta02)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta02 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/1.0.0-beta01/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination)

    public sealed class BigQueryDestination : IMessage<BigQueryDestination>, IEquatable<BigQueryDestination>, IDeepCloneable<BigQueryDestination>, IBufferMessage, IMessage

Reference documentation and code samples for the Capacity Planner v1beta API class BigQueryDestination.

A BigQuery destination for exporting assets to.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BigQueryDestination

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BigQueryDestination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BigQueryDestination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BigQueryDestination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.CapacityPlanner.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta)

## Assembly

Google.Cloud.CapacityPlanner.V1Beta.dll

## Constructors

### BigQueryDestination()

    public BigQueryDestination()

### BigQueryDestination(BigQueryDestination)

    public BigQueryDestination(BigQueryDestination other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination` |

## Properties

### CreateDisposition

    public BigQueryDestination.Types.CreateDisposition CreateDisposition { get; set; }

Optional. Specifies the action that occurs if the destination table does
not exist

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Types.CreateDisposition` |   |

### Dataset

    public string Dataset { get; set; }

Required. The BigQuery dataset in format
"projects/{projectId}/datasets/{datasetId}", to which the snapshot result
should be exported. If this dataset does not exist, the export call returns
an INVALID_ARGUMENT error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GcsLocation

    public string GcsLocation { get; set; }

Optional. Specifies the Cloud Storage location.
Users can choose to provide a location for Cloud Storage bucket to store
the exported data. (as it is possible that some locations are restricted
via org policy for that project) Temporary Cloud Storage bucket creation is
an interim step for BigQuery upload. If no value is provided, the default
location used will be 'US'.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PartitionKey

    public BigQueryDestination.Types.PartitionKey PartitionKey { get; set; }

Optional. The partition key for BigQuery partitioned table.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Types.PartitionKey` |   |

### Table

    public string Table { get; set; }

Required. The BigQuery table to which the snapshot result should be
written.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### WriteDisposition

    public BigQueryDestination.Types.WriteDisposition WriteDisposition { get; set; }

Optional. Specifies the action that occurs if the destination table or
partition already exists.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CapacityPlanner.V1Beta/latest/Google.Cloud.CapacityPlanner.V1Beta.BigQueryDestination.Types.WriteDisposition` |   |