Reference documentation and code samples for the Compute V1 Client class Operator.
Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.
Protobuf type google.cloud.compute.v1.SchedulingNodeAffinity.Operator
Namespace
Google \ Cloud \ Compute \ V1 \ SchedulingNodeAffinityMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_OPERATOR
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_OPERATOR = 0;
IN
Value: 2341
Requires Compute Engine to seek for matched nodes.
Generated from protobuf enum IN = 2341;
NOT_IN
Value: 161144369
Requires Compute Engine to avoid certain nodes.
Generated from protobuf enum NOT_IN = 161144369;
OPERATOR_UNSPECIFIED
Value: 128892924
Generated from protobuf enum OPERATOR_UNSPECIFIED = 128892924;