Google Cloud Container V1 Client - Class NodeLabels (2.2.0)

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

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Map of node label keys and node label values.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this