Reference documentation and code samples for the Google Cloud Build V1 Client class UpdateWorkerPoolOperationMetadata.
Metadata for the UpdateWorkerPool
operation.
Generated from protobuf message google.devtools.cloudbuild.v1.UpdateWorkerPoolOperationMetadata
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ worker_pool |
string
The resource name of the |
↳ 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 updated.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
Returns | |
---|---|
Type | Description |
string |
setWorkerPool
The resource name of the WorkerPool
being updated.
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 |