Google Cloud Build V1 Client - Class DeleteWorkerPoolRequest (0.14.0)

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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 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}.

Returns
TypeDescription
string

setName

Required. The name of the WorkerPool to delete.

Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEtag

Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.

Returns
TypeDescription
string

setEtag

Optional. If provided, it must match the server's etag on the workerpool for the request to be processed.

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getValidateOnly

If set, validate the request and preview the response, but do not actually post it.

Returns
TypeDescription
bool

setValidateOnly

If set, validate the request and preview the response, but do not actually post it.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this