Reference documentation and code samples for the Google Cloud Container V1 Client class NodeAffinity.
Specifies the NodeAffinity key, values, and affinity operator according to shared sole tenant node group affinities .
Generated from protobuf message google.container.v1.SoleTenantConfig.NodeAffinity
Namespace
Google \ Cloud \ Container \ V1 \ SoleTenantConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
Key for NodeAffinity.
↳ operator
int
Operator for NodeAffinity.
↳ values
array
Values for NodeAffinity.
getKey
Key for NodeAffinity.
string
setKey
Key for NodeAffinity.
var
string
$this
getOperator
Operator for NodeAffinity.
int
setOperator
Operator for NodeAffinity.
var
int
$this
getValues
Values for NodeAffinity.
setValues
Values for NodeAffinity.
var
string[]
$this