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 desired node scheduling in Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version, and the documentation includes versions ranging from 1.0.0 to 3.6.0 for the \u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \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\u003e\u003ccode\u003eSchedulingNodeAffinity\u003c/code\u003e offers properties like \u003ccode\u003eKey\u003c/code\u003e, \u003ccode\u003eOperator\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e to manage node selection based on labels and operations, including constructors to instantiate and copy.\u003c/p\u003e\n"],["\u003cp\u003eNode affinity lets you configure the selection of desired nodes for scheduling an instance using the \u003ccode\u003eIN\u003c/code\u003e operator for affinity and \u003ccode\u003eNOT_IN\u003c/code\u003e for anti-affinity.\u003c/p\u003e\n"]]],[],null,[]]