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\u003eThis document provides reference documentation for the \u003ccode\u003eGkeNodePoolTarget.Types.Role\u003c/code\u003e enum within the Google Cloud Dataproc v1 API, detailing the different roles available.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 5.17.0, with a history of versions available down to 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e enum specifies which tasks will run on a NodePool, allowing for workload-specific role assignments, and mandating one 'default' role within a \u003ccode\u003eVirtualCluster\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe following roles are documented : \u003ccode\u003eController\u003c/code\u003e, \u003ccode\u003eDefault\u003c/code\u003e, \u003ccode\u003eSparkDriver\u003c/code\u003e, \u003ccode\u003eSparkExecutor\u003c/code\u003e and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the role is \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e and is contained in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]