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-17 UTC."],[[["This page provides reference documentation for the `NodeGroupAffinity` class within the Google Cloud Dataproc v1 API, specifically for version 5.16.0."],["The `NodeGroupAffinity` class is used for clusters that utilize sole-tenant node groups, although it is not related to the `NodeGroup` resource in Dataproc."],["The latest version of the documentation is 5.17.0, while the documentation on this page references version 5.16.0 and a multitude of older versions are also available for reference."],["`NodeGroupAffinity` has two constructors, one default and another that accepts another `NodeGroupAffinity` instance as a parameter to clone it."],["The `NodeGroupUri` property is required and represents the URI of the sole-tenant node group resource for cluster creation."]]],[]]