Google Cloud Build V1 Client - Class ListWorkerPoolsResponse (0.3.8)

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

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

getWorkerPools

WorkerPools for the project.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWorkerPools

WorkerPools for the project.

Parameter
NameDescription
var array<Google\Cloud\Build\V1\WorkerPool>
Returns
TypeDescription
$this