# Google Cloud Retail V2 Client - Class BigQueryDestination (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class BigQueryDestination.

The BigQuery output destination configuration.

Generated from protobuf message `google.cloud.retail.v2.OutputConfig.BigQueryDestination`

## Namespace

Google \\ Cloud \\ Retail \\ V2 \\ OutputConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataset_id` | `string` Required. The ID of a BigQuery Dataset. |
| `↳ table_id_prefix` | `string` Required. The prefix of exported BigQuery tables. |
| `↳ table_type` | `string` Required. Describes the table type. The following values are supported: \* \* `table`: A BigQuery native table. \* \* `view`: A virtual table defined by a SQL query. |

### getDatasetId

Required. The ID of a BigQuery Dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDatasetId

Required. The ID of a BigQuery Dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTableIdPrefix

Required. The prefix of exported BigQuery tables.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTableIdPrefix

Required. The prefix of exported BigQuery tables.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTableType

Required. Describes the table type. The following values are supported:

- `table`: A BigQuery native table.

- `view`: A virtual table defined by a SQL query.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTableType

Required. Describes the table type. The following values are supported:

- `table`: A BigQuery native table.

- `view`: A virtual table defined by a SQL query.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |