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 aDataproc-on-GKE
cluster.
Generated from protobuf messagegoogle.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 (seeDataproc staging and temp buckets).This field requires a Cloud Storage bucket name, not ags://...URI to a Cloud Storage bucket.
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 (seeDataproc staging and temp
buckets).This field requires a Cloud Storage bucket name, not ags://...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 (seeDataproc staging and temp
buckets).This field requires a Cloud Storage bucket name, not ags://...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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class VirtualClusterConfig (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.VirtualClusterConfig)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.VirtualClusterConfig)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.VirtualClusterConfig)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.VirtualClusterConfig)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.VirtualClusterConfig)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.VirtualClusterConfig)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.VirtualClusterConfig)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.VirtualClusterConfig)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.VirtualClusterConfig)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.VirtualClusterConfig)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.VirtualClusterConfig)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.VirtualClusterConfig)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.VirtualClusterConfig)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.VirtualClusterConfig)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.VirtualClusterConfig)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.VirtualClusterConfig)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.VirtualClusterConfig)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.VirtualClusterConfig)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.VirtualClusterConfig) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class VirtualClusterConfig.\n\nThe Dataproc cluster config for a cluster that does not directly control the\nunderlying compute resources, such as a [Dataproc-on-GKE\ncluster](https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).\n\nGenerated from protobuf message `google.cloud.dataproc.v1.VirtualClusterConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStagingBucket\n\nOptional. A Cloud Storage bucket used to stage job\ndependencies, config files, and job driver console output.\n\nIf you do not specify a staging bucket, Cloud\nDataproc will determine a Cloud Storage location (US,\nASIA, or EU) for your cluster's staging bucket according to the\nCompute Engine zone where your cluster is deployed, and then create\nand manage this project-level, per-location bucket (see\n[Dataproc staging and temp\nbuckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n**This field requires a Cloud Storage bucket name, not a `gs://...` URI to\na Cloud Storage bucket.**\n\n### setStagingBucket\n\nOptional. A Cloud Storage bucket used to stage job\ndependencies, config files, and job driver console output.\n\nIf you do not specify a staging bucket, Cloud\nDataproc will determine a Cloud Storage location (US,\nASIA, or EU) for your cluster's staging bucket according to the\nCompute Engine zone where your cluster is deployed, and then create\nand manage this project-level, per-location bucket (see\n[Dataproc staging and temp\nbuckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).\n**This field requires a Cloud Storage bucket name, not a `gs://...` URI to\na Cloud Storage bucket.**\n\n### getKubernetesClusterConfig\n\nRequired. The configuration for running the Dataproc cluster on\nKubernetes.\n\n### hasKubernetesClusterConfig\n\n### setKubernetesClusterConfig\n\nRequired. The configuration for running the Dataproc cluster on\nKubernetes.\n\n### getAuxiliaryServicesConfig\n\nOptional. Configuration of auxiliary services used by this cluster.\n\n### hasAuxiliaryServicesConfig\n\n### clearAuxiliaryServicesConfig\n\n### setAuxiliaryServicesConfig\n\nOptional. Configuration of auxiliary services used by this cluster.\n\n### getInfrastructureConfig"]]