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 latest version of the \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class in the Compute Engine v1 API is 3.6.0, and this class is used to configure which nodes an Instance can be scheduled on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e 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, providing functionality for message handling, equality checks, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe class's properties, such as \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eOperator\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e, are used to specify the node selection criteria, where \u003ccode\u003eKey\u003c/code\u003e represents the node label key, \u003ccode\u003eOperator\u003c/code\u003e defines the node selection operation, and \u003ccode\u003eValues\u003c/code\u003e contains the corresponding node label values.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the class available, spanning from version 1.0.0 to 3.6.0, and each version is linked for specific reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class has two constructors: a default constructor, and one that creates a new instance based on an existing \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]