Google Cloud Build V1 Client - Class DeleteWorkerPoolOperationMetadata (0.16.3)

Reference documentation and code samples for the Google Cloud Build V1 Client class DeleteWorkerPoolOperationMetadata.

Metadata for the DeleteWorkerPool operation.

Generated from protobuf message google.devtools.cloudbuild.v1.DeleteWorkerPoolOperationMetadata

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ worker_pool string

The resource name of the WorkerPool being deleted. Format: projects/{project}/locations/{location}/workerPools/{worker_pool}.

↳ create_time Google\Protobuf\Timestamp

Time the operation was created.

↳ complete_time Google\Protobuf\Timestamp

Time the operation was completed.

getWorkerPool

The resource name of the WorkerPool being deleted.

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

Returns
Type Description
string

setWorkerPool

The resource name of the WorkerPool being deleted.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Time the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Time the operation was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCompleteTime

Time the operation was completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCompleteTime

clearCompleteTime

setCompleteTime

Time the operation was completed.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this