Reference documentation and code samples for the Google Cloud Dataproc v1 API enum GkeNodePoolTarget.Types.Role.
Role specifies whose tasks will run on the NodePool. The roles can be
specific to workloads. Exactly one GkeNodePoolTarget within the
VirtualCluster must have 'default' role, which is used to run all workloads
that are not associated with a NodePool.
[[["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 Google Cloud Dataproc v1 API's \u003ccode\u003eGkeNodePoolTarget.Types.Role\u003c/code\u003e is 5.17.0, with multiple historical versions available, from 5.16.0 all the way down to 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e enum defines the type of tasks that will run on a \u003ccode\u003eNodePool\u003c/code\u003e within a \u003ccode\u003eVirtualCluster\u003c/code\u003e, with the possibility of workloads specific to each role.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eVirtualCluster\u003c/code\u003e must have one \u003ccode\u003eGkeNodePoolTarget\u003c/code\u003e with a 'default' role, that will run all the workloads that are not directly associated with a \u003ccode\u003eNodePool\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are five defined roles that are part of the \u003ccode\u003eRole\u003c/code\u003e enum, they are Unspecified, Default, SparkDriver, SparkExecutor, and Controller.\u003c/p\u003e\n"]]],[],null,[]]