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 | |
---|---|
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.
Generated from protobuf field repeated .google.container.v1.Cluster clusters = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field repeated string missing_zones = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |