Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class SchedulingNodeAffinity.
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling
Generated from protobuf message google.cloud.vmmigration.v1.SchedulingNodeAffinity
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
The label key of Node resource to reference.
↳ operator
int
The operator to use for the node resources specified in the values
parameter.
↳ values
array
Corresponds to the label values of Node resource.
getKey
The label key of Node resource to reference.
string
setKey
The label key of Node resource to reference.
var
string
$this
getOperator
The operator to use for the node resources specified in the values
parameter.
int
setOperator
The operator to use for the node resources specified in the values
parameter.
var
int
$this
getValues
Corresponds to the label values of Node resource.
setValues
Corresponds to the label values of Node resource.
var
string[]
$this