Reference documentation and code samples for the Google Cloud Build V1 Client class ListWorkerPoolsResponse.
Response containing existing WorkerPools.
Generated from protobuf message google.devtools.cloudbuild.v1.ListWorkerPoolsResponse
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ worker_pools |
array<Google\Cloud\Build\V1\WorkerPool>
|
↳ next_page_token |
string
Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results. |
getWorkerPools
WorkerPools for the specified project.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setWorkerPools
WorkerPools for the specified project.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Build\V1\WorkerPool>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|