Google Cloud Container V1 Client - Class NodeLabels (1.9.1)

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

Collection of node-level Kubernetes labels.

Generated from protobuf message google.container.v1.NodeLabels

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ labels array|Google\Protobuf\Internal\MapField

Map of node label keys and node label values.

getLabels

Map of node label keys and node label values.

Generated from protobuf field map<string, string> labels = 1;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Map of node label keys and node label values.

Generated from protobuf field map<string, string> labels = 1;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this