Reference documentation and code samples for the Google Cloud Build V1 Client class PoolOption.
Details about how a build should be executed on a WorkerPool
.
See running builds in a private pool for more information.
Generated from protobuf message google.devtools.cloudbuild.v1.BuildOptions.PoolOption
Namespace
Google \ Cloud \ Build \ V1 \ BuildOptionsMethods
__construct
Constructor.
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}
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}
var
string
$this