Reference documentation and code samples for the Google Cloud Build V1 Client class DeleteWorkerPoolRequest.
Request to delete a WorkerPool
.
Generated from protobuf message google.devtools.cloudbuild.v1.DeleteWorkerPoolRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the WorkerPool
to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
↳ etag
string
Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.
↳ allow_missing
bool
If set to true, and the WorkerPool
is not found, the request will succeed but no action will be taken on the server.
↳ validate_only
bool
If set, validate the request and preview the response, but do not actually post it.
getName
Required. The name of the WorkerPool
to delete.
Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
string
setName
Required. The name of the WorkerPool
to delete.
Format: projects/{project}/locations/{location}/workerPools/{workerPool}
.
var
string
$this
getEtag
Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.
string
setEtag
Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.
var
string
$this
getAllowMissing
If set to true, and the WorkerPool
is not found, the request will succeed
but no action will be taken on the server.
bool
setAllowMissing
If set to true, and the WorkerPool
is not found, the request will succeed
but no action will be taken on the server.
var
bool
$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