Google Cloud Container V1 Client - Class Operator (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Invalid or unspecified affinity operator.
Generated from protobuf enum OPERATOR_UNSPECIFIED = 0;
IN
Affinity operator.
Generated from protobuf enum IN = 1;
NOT_IN
Anti-affinity operator.
Generated from protobuf enum NOT_IN = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Container V1 Client - Class Operator (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-container/latest/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [2.4.0](/php/docs/reference/cloud-container/2.4.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [2.3.4](/php/docs/reference/cloud-container/2.3.4/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [2.2.1](/php/docs/reference/cloud-container/2.2.1/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [2.1.0](/php/docs/reference/cloud-container/2.1.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [2.0.0](/php/docs/reference/cloud-container/2.0.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.33.0](/php/docs/reference/cloud-container/1.33.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.32.0](/php/docs/reference/cloud-container/1.32.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.31.0](/php/docs/reference/cloud-container/1.31.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.30.3](/php/docs/reference/cloud-container/1.30.3/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.24.0](/php/docs/reference/cloud-container/1.24.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.23.0](/php/docs/reference/cloud-container/1.23.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.22.0](/php/docs/reference/cloud-container/1.22.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.21.1](/php/docs/reference/cloud-container/1.21.1/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.20.0](/php/docs/reference/cloud-container/1.20.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.19.0](/php/docs/reference/cloud-container/1.19.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.18.0](/php/docs/reference/cloud-container/1.18.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.17.1](/php/docs/reference/cloud-container/1.17.1/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.16.0](/php/docs/reference/cloud-container/1.16.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.15.0](/php/docs/reference/cloud-container/1.15.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.14.0](/php/docs/reference/cloud-container/1.14.0/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.13.1](/php/docs/reference/cloud-container/1.13.1/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.12.1](/php/docs/reference/cloud-container/1.12.1/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.10.3](/php/docs/reference/cloud-container/1.10.3/V1.SoleTenantConfig.NodeAffinity.Operator)\n- [1.9.1](/php/docs/reference/cloud-container/1.9.1/V1.SoleTenantConfig.NodeAffinity.Operator) \nReference documentation and code samples for the Google Cloud Container V1 Client class Operator.\n\nOperator allows user to specify affinity or anti-affinity for the\ngiven key values.\n\nProtobuf type `google.container.v1.SoleTenantConfig.NodeAffinity.Operator`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Container \\\\ V1 \\\\ SoleTenantConfig \\\\ NodeAffinity\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### OPERATOR_UNSPECIFIED\n\n Value: 0\n\nInvalid or unspecified affinity operator.\n\nGenerated from protobuf enum `OPERATOR_UNSPECIFIED = 0;`\n\n### IN\n\n Value: 1\n\nAffinity operator.\n\nGenerated from protobuf enum `IN = 1;`\n\n### NOT_IN\n\n Value: 2\n\nAnti-affinity operator.\n\nGenerated from protobuf enum `NOT_IN = 2;`"]]