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 configures desired nodes for instance scheduling within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version of \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e is 3.6.0, and documentation for multiple previous versions back to 1.0.0 are available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e include \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eOperator\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, which define the node label key, the operation type (IN/NOT_IN), and the label values, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple constructors for the \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class, one being a parameterless constructor and the other accepting another \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]