Google Cloud Container V1 Client - Class ListClustersResponse (1.9.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

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.

Generated from protobuf field repeated .google.container.v1.Cluster clusters = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setClusters

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

Generated from protobuf field repeated .google.container.v1.Cluster clusters = 1;

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.

Generated from protobuf field repeated string missing_zones = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMissingZones

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

Generated from protobuf field repeated string missing_zones = 2;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this