Google Cloud Container V1 Client - Class ListNodePoolsResponse (1.9.1)

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

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.

Generated from protobuf field repeated .google.container.v1.NodePool node_pools = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodePools

A list of node pools for a cluster.

Generated from protobuf field repeated .google.container.v1.NodePool node_pools = 1;

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