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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, which is used to configure the desired nodes for an Instance to be scheduled onto.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class include \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eOperator\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which respectively define the label key, the operation of node selection (IN/NOT_IN), and the label values of the Node resource.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides links to documentation for multiple versions of \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class, with version 3.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that accepts another \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]