# Common Protos for Google Cloud APIs Client - Class JobConfig (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class JobConfig.

Job configuration.

See the [Jobs](https://cloud.google.com/bigquery/docs/reference/v2/jobs)
API resource for more details on individual fields.

Generated from protobuf message `google.cloud.audit.BigQueryAuditMetadata.JobConfig`

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Job type. |
| `↳ query_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Query` Query job information. |
| `↳ load_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Load` Load job information. |
| `↳ extract_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Extract` Extract job information. |
| `↳ table_copy_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.TableCopy` TableCopy job information. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Labels provided for the job. |

### getType

Job type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Type). |

### setType

Job type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Type). |

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

### getQueryConfig

Query job information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Query|null` |   |

### hasQueryConfig

### setQueryConfig

Query job information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Query` |

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

### getLoadConfig

Load job information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Load|null` |   |

### hasLoadConfig

### setLoadConfig

Load job information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Load` |

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

### getExtractConfig

Extract job information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Extract|null` |   |

### hasExtractConfig

### setExtractConfig

Extract job information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.Extract` |

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

### getTableCopyConfig

TableCopy job information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.TableCopy|null` |   |

### hasTableCopyConfig

### setTableCopyConfig

TableCopy job information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-common-protos/latest/Audit.BigQueryAuditMetadata.JobConfig.TableCopy` |

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

### getLabels

Labels provided for the job.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Labels provided for the job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getConfig

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