Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class NodeAffinity.
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
Generated from protobuf message google.cloud.backupdr.v1.Scheduling.NodeAffinity
Namespace
Google \ Cloud \ BackupDR \ V1 \ SchedulingMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
Optional. Corresponds to the label key of Node resource.
↳ operator
int
Optional. Defines the operation of node selection.
↳ values
array
Optional. Corresponds to the label values of Node resource.
getKey
Optional. Corresponds to the label key of Node resource.
string
hasKey
clearKey
setKey
Optional. Corresponds to the label key of Node resource.
var
string
$this
getOperator
Optional. Defines the operation of node selection.
int
hasOperator
clearOperator
setOperator
Optional. Defines the operation of node selection.
var
int
$this
getValues
Optional. Corresponds to the label values of Node resource.
setValues
Optional. Corresponds to the label values of Node resource.
var
string[]
$this