Google Cloud Container V1 Client - Class ListNodePoolsResponse (2.2.0)

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

ListNodePoolsResponse is the result of ListNodePoolsRequest.

Generated from protobuf message google.container.v1.ListNodePoolsResponse

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ node_pools array<Google\Cloud\Container\V1\NodePool>

A list of node pools for a cluster.

getNodePools

A list of node pools for a cluster.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNodePools

A list of node pools for a cluster.

Parameter
Name Description
var array<Google\Cloud\Container\V1\NodePool>
Returns
Type Description
$this