# Google Cloud Dataproc V1 Client - Class RuntimeConfig (3.14.0)

3.14.0 (latest) 3.13.4 3.12.0 3.11.0 3.10.1 3.9.0 3.8.1 3.7.1 3.6.1 3.5.1 3.4.0 3.3.0 3.2.2 2.12.0 2.11.0 2.10.0 2.9.1 2.8.2 2.7.0 2.6.1 2.5.0 2.3.0 2.2.3 2.1.0 2.0.0 Reference documentation and code samples for the Google Cloud Dataproc V1 Client class RuntimeConfig.

Runtime configuration for a workload.

Generated from protobuf message `google.cloud.dataproc.v1.RuntimeConfig`

## Namespace

Google \\ Cloud \\ Dataproc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ version` | `string` Optional. Version of the batch runtime. |
| `↳ container_image` | `string` Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used. |
| `↳ properties` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. A mapping of property names to values, which are used to configure workload execution. |
| `↳ repository_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.RepositoryConfig` Optional. Dependency repository configuration. |
| `↳ autotuning_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.AutotuningConfig` Optional. Autotuning configuration of the workload. |
| `↳ cohort` | `string` Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs. |

### getVersion

Optional. Version of the batch runtime.

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

### setVersion

Optional. Version of the batch runtime.

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

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

### getContainerImage

Optional. Optional custom container image for the job runtime environment.

If not specified, a default container image will be used.

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

### setContainerImage

Optional. Optional custom container image for the job runtime environment.

If not specified, a default container image will be used.

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

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

### getProperties

Optional. A mapping of property names to values, which are used to
configure workload execution.

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

### setProperties

Optional. A mapping of property names to values, which are used to
configure workload execution.

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

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

### getRepositoryConfig

Optional. Dependency repository configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.RepositoryConfig|null` |   |

### hasRepositoryConfig

### clearRepositoryConfig

### setRepositoryConfig

Optional. Dependency repository configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.RepositoryConfig` |

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

### getAutotuningConfig

Optional. Autotuning configuration of the workload.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.AutotuningConfig|null` |   |

### hasAutotuningConfig

### clearAutotuningConfig

### setAutotuningConfig

Optional. Autotuning configuration of the workload.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.AutotuningConfig` |

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

### getCohort

Optional. Cohort identifier. Identifies families of the workloads having
the same shape, e.g. daily ETL jobs.

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

### setCohort

Optional. Cohort identifier. Identifies families of the workloads having
the same shape, e.g. daily ETL jobs.

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

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