Input only. The configuration for the GKE node pool.
If specified, Dataproc attempts to create a node pool with the
specified shape. If one with the same name already exists, it is
verified against all specified fields. If a field differs, the
virtual cluster creation will fail.
If omitted, any node pool with the specified name is used. If a
node pool with the specified name does not exist, Dataproc create a
node pool with default values.
This is an input only field. It will not be returned by the API.
[[["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 available for the \u003ccode\u003eGkeNodePoolTarget\u003c/code\u003e class in the Google Cloud Dataproc v1 API is 5.17.0, with a range of older versions accessible, all the way back to 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGkeNodePoolTarget\u003c/code\u003e is a class within the Google.Cloud.Dataproc.V1 namespace used to manage GKE node pools that Dataproc workloads run on, as well as implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors for creating new instances, including one for deep cloning and another for a base instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eGkeNodePoolTarget\u003c/code\u003e include \u003ccode\u003eNodePool\u003c/code\u003e for specifying the target GKE node pool and \u003ccode\u003eNodePoolConfig\u003c/code\u003e for configuring the node pool settings, which is input only.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGkeNodePoolTarget\u003c/code\u003e has a \u003ccode\u003eRoles\u003c/code\u003e property that defines the associated roles of the GKE node pool, which is a required field.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class GkeNodePoolTarget (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.GkeNodePoolTarget)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.GkeNodePoolTarget) \n\n public sealed class GkeNodePoolTarget : IMessage\u003cGkeNodePoolTarget\u003e, IEquatable\u003cGkeNodePoolTarget\u003e, IDeepCloneable\u003cGkeNodePoolTarget\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class GkeNodePoolTarget.\n\nGKE node pools that Dataproc workloads run on. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GkeNodePoolTarget \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GkeNodePoolTarget](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeNodePoolTarget), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GkeNodePoolTarget](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeNodePoolTarget), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GkeNodePoolTarget](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GkeNodePoolTarget), [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### GkeNodePoolTarget()\n\n public GkeNodePoolTarget()\n\n### GkeNodePoolTarget(GkeNodePoolTarget)\n\n public GkeNodePoolTarget(GkeNodePoolTarget other)\n\nProperties\n----------\n\n### NodePool\n\n public string NodePool { get; set; }\n\nRequired. The target GKE node pool.\nFormat:\n'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'\n\n### NodePoolConfig\n\n public GkeNodePoolConfig NodePoolConfig { get; set; }\n\nInput only. The configuration for the GKE node pool.\n\nIf specified, Dataproc attempts to create a node pool with the\nspecified shape. If one with the same name already exists, it is\nverified against all specified fields. If a field differs, the\nvirtual cluster creation will fail.\n\nIf omitted, any node pool with the specified name is used. If a\nnode pool with the specified name does not exist, Dataproc create a\nnode pool with default values.\n\nThis is an input only field. It will not be returned by the API.\n\n### Roles\n\n public RepeatedField\u003cGkeNodePoolTarget.Types.Role\u003e Roles { get; }\n\nRequired. The roles associated with the GKE node pool."]]