Google Cloud Container V1 Client - Class ListClustersResponse (2.3.1)

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<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<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