Google Cloud Container V1 Client - Class ListNodePoolsResponse (1.15.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodePools

A list of node pools for a cluster.

Parameter
NameDescription
var array<Google\Cloud\Container\V1\NodePool>
Returns
TypeDescription
$this