Google Cloud Container V1 Client - Class ListClustersResponse (1.10.3)

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

ListClustersResponse is the result of ListClustersRequest.

Generated from protobuf message google.container.v1.ListClustersResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ clusters array<Google\Cloud\Container\V1\Cluster>

A list of clusters in the project in the specified zone, or across all ones.

↳ missing_zones array

If any zones are listed here, the list of clusters returned may be missing those zones.

getClusters

A list of clusters in the project in the specified zone, or across all ones.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setClusters

A list of clusters in the project in the specified zone, or across all ones.

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

getMissingZones

If any zones are listed here, the list of clusters returned may be missing those zones.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMissingZones

If any zones are listed here, the list of clusters returned may be missing those zones.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this