public sealed class VirtualClusterConfig : IMessage<VirtualClusterConfig>, IEquatable<VirtualClusterConfig>, IDeepCloneable<VirtualClusterConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API 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.
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).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eVirtualClusterConfig\u003c/code\u003e API class is 5.17.0, which is part of the Google Cloud Dataproc V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference material for the \u003ccode\u003eVirtualClusterConfig\u003c/code\u003e class, which is used to configure Dataproc clusters that do not manage their underlying compute resources, such as Dataproc-on-GKE clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVirtualClusterConfig\u003c/code\u003e class offers properties to define configurations for auxiliary services, Kubernetes cluster settings, and the staging bucket used by the Dataproc cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVirtualClusterConfig\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple previous versions of the class available for reference, going back to version 3.1.0, in addition to the current version.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class VirtualClusterConfig (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.VirtualClusterConfig) \n\n public sealed class VirtualClusterConfig : IMessage\u003cVirtualClusterConfig\u003e, IEquatable\u003cVirtualClusterConfig\u003e, IDeepCloneable\u003cVirtualClusterConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API 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\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VirtualClusterConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VirtualClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.VirtualClusterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VirtualClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.VirtualClusterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VirtualClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.VirtualClusterConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### VirtualClusterConfig()\n\n public VirtualClusterConfig()\n\n### VirtualClusterConfig(VirtualClusterConfig)\n\n public VirtualClusterConfig(VirtualClusterConfig other)\n\nProperties\n----------\n\n### AuxiliaryServicesConfig\n\n public AuxiliaryServicesConfig AuxiliaryServicesConfig { get; set; }\n\nOptional. Configuration of auxiliary services used by this cluster.\n\n### InfrastructureConfigCase\n\n public VirtualClusterConfig.InfrastructureConfigOneofCase InfrastructureConfigCase { get; }\n\n### KubernetesClusterConfig\n\n public KubernetesClusterConfig KubernetesClusterConfig { get; set; }\n\nRequired. The configuration for running the Dataproc cluster on\nKubernetes.\n\n### StagingBucket\n\n public string StagingBucket { get; set; }\n\nOptional. A Cloud Storage bucket used to stage job\ndependencies, config files, and job driver console output.\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.**"]]