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 latest version of the `NodeGroupAffinity` class in the Google Cloud Dataproc v1 API is 5.17.0, and there are several previous versions ranging from 5.16.0 down to 3.1.0, and it also include versions 4.0.0."],["`NodeGroupAffinity` is a class within the Google.Cloud.Dataproc.V1 namespace and is used for managing node group affinity in clusters with sole-tenant node groups, but is not directly related to the Dataproc NodeGroup resource."],["The `NodeGroupAffinity` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities such as deep cloning and buffer message handling."],["The class has a public property `NodeGroupUri` which is a required string representing the URI of a sole-tenant node group resource, allowing for full URLs, partial URIs, or node group names."],["The `NodeGroupAffinity` class provides two constructors, one default `NodeGroupAffinity()` and another `NodeGroupAffinity(NodeGroupAffinity other)` that allows the creation of a `NodeGroupAffinity` using another `NodeGroupAffinity` as the parameter."]]],[]]