Reference documentation and code samples for the Google Cloud Dataproc v1 API class NodeGroupAffinity.
Node Group Affinity for clusters using sole-tenant node groups.
The Dataproc NodeGroupAffinity resource is not related to the
Dataproc [NodeGroup][google.cloud.dataproc.v1.NodeGroup] resource.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides documentation for the `NodeGroupAffinity` class within the Google Cloud Dataproc v1 API, detailing its use with sole-tenant node groups."],["The latest version available for this API is 5.17.0, with several older versions ranging from 5.16.0 to 3.1.0 also accessible."],["`NodeGroupAffinity` is used to specify the URI of a sole-tenant node group resource for cluster creation, and it is implemented through several interfaces such as IMessage, IEquatable, and IDeepCloneable."],["The `NodeGroupUri` property of the `NodeGroupAffinity` class allows users to define the node group where a cluster will be created, accepting a full URL, partial URI, or node group name."]]],[]]