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 \ V1Methods
__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
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
Returns | |
---|---|
Type | Description |
string |
setWorkerPool
The resource name of the WorkerPool
to create.
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 |