public sealed class GkeClusterConfig : IMessage<GkeClusterConfig>, IEquatable<GkeClusterConfig>, IDeepCloneable<GkeClusterConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class GkeClusterConfig.
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or
regional). Format:
'projects/{project}/locations/{location}/clusters/{cluster_id}'
public RepeatedField<GkeNodePoolTarget> NodePoolTarget { get; }
Optional. GKE node pools where workloads will be scheduled. At least one
node pool must be assigned the DEFAULT
[GkeNodePoolTarget.Role][google.cloud.dataproc.v1.GkeNodePoolTarget.Role].
If a GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULTGkeNodePoolTarget. Each role can be given to only one
GkeNodePoolTarget. All node pools must have the same location settings.
[[["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\u003eGkeClusterConfig\u003c/code\u003e API class is 5.17.0, and there are multiple previous versions available, ranging down to version 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGkeClusterConfig\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace that represents the cluster's GKE config for the Google Cloud Dataproc v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeClusterConfig\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which enables deep cloning and other functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eGkeClusterTarget\u003c/code\u003e (specifying the target GKE cluster) and \u003ccode\u003eNodePoolTarget\u003c/code\u003e (for defining node pools where workloads will be scheduled).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGkeClusterTarget\u003c/code\u003e can also be accessed as a \u003ccode\u003eClusterName\u003c/code\u003e-typed view via the \u003ccode\u003eGkeClusterTargetAsClusterName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class GkeClusterConfig (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.GkeClusterConfig)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.GkeClusterConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.GkeClusterConfig) \n\n public sealed class GkeClusterConfig : IMessage\u003cGkeClusterConfig\u003e, IEquatable\u003cGkeClusterConfig\u003e, IDeepCloneable\u003cGkeClusterConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class GkeClusterConfig.\n\nThe cluster's GKE config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GkeClusterConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GkeClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeClusterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GkeClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeClusterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GkeClusterConfig](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeClusterConfig), [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### GkeClusterConfig()\n\n public GkeClusterConfig()\n\n### GkeClusterConfig(GkeClusterConfig)\n\n public GkeClusterConfig(GkeClusterConfig other)\n\nProperties\n----------\n\n### GkeClusterTarget\n\n public string GkeClusterTarget { get; set; }\n\nOptional. A target GKE cluster to deploy to. It must be in the same project\nand region as the Dataproc cluster (the GKE cluster can be zonal or\nregional). Format:\n'projects/{project}/locations/{location}/clusters/{cluster_id}'\n\n### GkeClusterTargetAsClusterName\n\n public ClusterName GkeClusterTargetAsClusterName { get; set; }\n\n[ClusterName](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ClusterName)-typed view over the [GkeClusterTarget](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeClusterConfig#Google_Cloud_Dataproc_V1_GkeClusterConfig_GkeClusterTarget) resource name property.\n\n### NodePoolTarget\n\n public RepeatedField\u003cGkeNodePoolTarget\u003e NodePoolTarget { get; }\n\nOptional. GKE node pools where workloads will be scheduled. At least one\nnode pool must be assigned the `DEFAULT`\n\\[GkeNodePoolTarget.Role\\]\\[google.cloud.dataproc.v1.GkeNodePoolTarget.Role\\].\nIf a `GkeNodePoolTarget` is not specified, Dataproc constructs a `DEFAULT`\n`GkeNodePoolTarget`. Each role can be given to only one\n`GkeNodePoolTarget`. All node pools must have the same location settings."]]