Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
Check the Operator enum for the list of possible values.
[[["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 `SchedulingNodeAffinity` class in the `Google.Cloud.Compute.V1` namespace provides configuration for defining desired nodes onto which an instance can be scheduled within the Compute Engine v1 API."],["Version 3.6.0 is the latest release, with several earlier versions available, including 2.3.0, 2.2.0, 2.1.0, all the way back to version 1.0.0."],["The class implements several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for various functionalities like message handling, equality comparisons, and deep cloning."],["`SchedulingNodeAffinity` allows setting properties such as `Key`, `Operator`, and `Values`, which correspond to the label key, the operation type (IN/NOT_IN), and the label values of Node resources respectively."],["`HasKey` and `HasOperator` are boolean properties to check if the `key` and `operator` fields are set."]]],[]]