# Google Cloud Dataproc V1 Client - Class VirtualClusterConfig (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 VirtualClusterConfig.

The Dataproc cluster config for a cluster that does not directly control the
underlying compute resources, such as a [Dataproc-on-GKE
cluster](https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).

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

## Namespace

Google \\ Cloud \\ Dataproc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ staging_bucket` | `string` Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see [Dataproc staging and temp buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). **This field requires a Cloud Storage bucket name, not a `gs://...` URI to a Cloud Storage bucket.** |
| `↳ kubernetes_cluster_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.KubernetesClusterConfig` Required. The configuration for running the Dataproc cluster on Kubernetes. |
| `↳ auxiliary_services_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataproc/latest/V1.AuxiliaryServicesConfig` Optional. Configuration of auxiliary services used by this cluster. |

### getStagingBucket

Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.

If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
[Dataproc staging and temp
buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
**This field requires a Cloud Storage bucket name, not a `gs://...` URI to
a Cloud Storage bucket.**

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

### setStagingBucket

Optional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.

If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster's staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
[Dataproc staging and temp
buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
**This field requires a Cloud Storage bucket name, not a `gs://...` URI to
a Cloud Storage bucket.**

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

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

### getKubernetesClusterConfig

Required. The configuration for running the Dataproc cluster on
Kubernetes.

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

### hasKubernetesClusterConfig

### setKubernetesClusterConfig

Required. The configuration for running the Dataproc cluster on
Kubernetes.

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

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

### getAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

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

### hasAuxiliaryServicesConfig

### clearAuxiliaryServicesConfig

### setAuxiliaryServicesConfig

Optional. Configuration of auxiliary services used by this cluster.

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

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

### getInfrastructureConfig

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