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\u003eThe \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace provides configuration for defining desired nodes onto which an instance can be scheduled within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eVersion 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various functionalities like message handling, equality comparisons, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e allows setting properties such as \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eOperator\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which correspond to the label key, the operation type (IN/NOT_IN), and the label values of Node resources respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHasKey\u003c/code\u003e and \u003ccode\u003eHasOperator\u003c/code\u003e are boolean properties to check if the \u003ccode\u003ekey\u003c/code\u003e and \u003ccode\u003eoperator\u003c/code\u003e fields are set.\u003c/p\u003e\n"]]],[],null,[]]