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-03-21 UTC."],[[["This documentation page covers the `NodeGroupAffinity` class within the Google Cloud Dataproc v1 API, specifically within the `Google.Cloud.Dataproc.V1` namespace."],["The `NodeGroupAffinity` class is used for configuring clusters to utilize sole-tenant node groups, which is not the same as the Dataproc `NodeGroup` resource."],["The latest version of the API available is 5.17.0, with a range of previous versions from 5.16.0 down to 3.1.0 also accessible on the page."],["`NodeGroupAffinity` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The primary property of the `NodeGroupAffinity` class is `NodeGroupUri`, which is a string that specifies the required URI of the sole-tenant node group resource for the cluster, and accepts several different formats."]]],[]]