Reference documentation and code samples for the Google Cloud Build V1 Client class UpdateWorkerPoolRequest.
Request to update a WorkerPool
.
Generated from protobuf message google.devtools.cloudbuild.v1.UpdateWorkerPoolRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ worker_pool
Google\Cloud\Build\V1\WorkerPool
Required. The WorkerPool
to update. The name
field is used to identify the WorkerPool
to update. Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
↳ update_mask
↳ validate_only
bool
If set, validate the request and preview the response, but do not actually post it.
getWorkerPool
Required. The WorkerPool
to update.
The name
field is used to identify the WorkerPool
to update.
Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
hasWorkerPool
clearWorkerPool
setWorkerPool
Required. The WorkerPool
to update.
The name
field is used to identify the WorkerPool
to update.
Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
$this
getUpdateMask
A mask specifying which fields in worker_pool
to update.
hasUpdateMask
clearUpdateMask
setUpdateMask
A mask specifying which fields in worker_pool
to update.
$this
getValidateOnly
If set, validate the request and preview the response, but do not actually post it.
bool
setValidateOnly
If set, validate the request and preview the response, but do not actually post it.
var
bool
$this