Google Cloud Build V1 Client - Class CreateWorkerPoolOperationMetadata (0.15.0)

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

Metadata for the CreateWorkerPool operation.

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

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ worker_pool string

The resource name of the WorkerPool to create. 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 to create.

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

Returns
TypeDescription
string

setWorkerPool

The resource name of the WorkerPool to create.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Time the operation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Time the operation was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCompleteTime

Time the operation was completed.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCompleteTime

clearCompleteTime

setCompleteTime

Time the operation was completed.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this