Google Cloud Container V1 Client - Class Operator (1.31.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class Operator.

Operator allows user to specify affinity or anti-affinity for the given key values.

Protobuf type google.container.v1.SoleTenantConfig.NodeAffinity.Operator

Namespace

Google \ Cloud \ Container \ V1 \ SoleTenantConfig \ NodeAffinity

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

OPERATOR_UNSPECIFIED

Value: 0

Invalid or unspecified affinity operator.

Generated from protobuf enum OPERATOR_UNSPECIFIED = 0;

IN

Value: 1

Affinity operator.

Generated from protobuf enum IN = 1;

NOT_IN

Value: 2

Anti-affinity operator.

Generated from protobuf enum NOT_IN = 2;