Google Cloud Container V1 Client - Class ListClustersResponse (1.31.0)

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

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setClusters

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

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

getMissingZones

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMissingZones

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

Parameter
Name Description
var string[]
Returns
Type Description
$this