0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 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 Gemini Data Analytics V1beta Client class BigQueryJob.

A BigQuery job executed by the system.

Generated from protobuf message `google.cloud.geminidataanalytics.v1beta.BigQueryJob`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` Required. The project that the job belongs to. See [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference). |
| `↳ job_id` | `string` Required. The ID of the job. See [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference). |
| `↳ location` | `string` Optional. The location of the job. See [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference). |
| `↳ destination_table` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference` Optional. A reference to the destination table of the job's query results. See [JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery). |
| `↳ schema` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema` Optional. The schema of the job's query results. See [JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2). |

### getProjectId

Required. The project that the job belongs to.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

### setProjectId

Required. The project that the job belongs to.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

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

### getJobId

Required. The ID of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

### setJobId

Required. The ID of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

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

### getLocation

Optional. The location of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

### setLocation

Optional. The location of the job.

See
[JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).

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

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

### getDestinationTable

Optional. A reference to the destination table of the job's query results.

See
[JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference|null` |   |

### hasDestinationTable

### clearDestinationTable

### setDestinationTable

Optional. A reference to the destination table of the job's query results.

See
[JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReference` |

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

### getSchema

Optional. The schema of the job's query results.

See
[JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema|null` |   |

### hasSchema

### clearSchema

### setSchema

Optional. The schema of the job's query results.

See
[JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema` |

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