Google Cloud Build V1 Client - Class ListWorkerPoolsResponse (0.9.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ worker_pools array<Google\Cloud\Build\V1\WorkerPool>

WorkerPools for the specified project.

↳ 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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWorkerPools

WorkerPools for the specified project.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\WorkerPool>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this