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."],[[["The `NodeGroupAffinity` class in the Google Cloud Dataproc v1 API is used to specify affinity for clusters using sole-tenant node groups, and is unrelated to the `NodeGroup` resource."],["Version 5.17.0 is the latest version of the `NodeGroupAffinity` API class documentation, with versions ranging down to 3.1.0 being available."],["The `NodeGroupAffinity` class inherits from `Object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, a default one and another that accepts a `NodeGroupAffinity` instance for duplication, with `NodeGroupUri` as the sole property to set."],["The `NodeGroupUri` property is a string representing the URI of a sole-tenant node group resource where the cluster will be created, and a full URL, partial URI, or node group name is acceptable."]]],[]]