Generated from protobuf message google.devtools.cloudbuild.v1.BuildOptions.PoolOption
Namespace
Google \ Cloud \ Build \ V1 \ BuildOptions
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
getName
The WorkerPool resource to execute the build on.
You must have cloudbuild.workerpools.use on the project hosting the
WorkerPool.
Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
Returns
Type
Description
string
setName
The WorkerPool resource to execute the build on.
You must have cloudbuild.workerpools.use on the project hosting the
WorkerPool.
Format projects/{project}/locations/{location}/workerPools/{workerPoolId}