Reference documentation and code samples for the Google Cloud Build V1 Client class CreateWorkerPoolRequest.
Request to create a new WorkerPool.
Generated from protobuf message google.devtools.cloudbuild.v1.CreateWorkerPoolRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
ID of the parent project. |
↳ worker_pool |
Google\Cloud\Build\V1\WorkerPool
|
getParent
ID of the parent project.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
ID of the parent project.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWorkerPool
WorkerPool resource to create.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Build\V1\WorkerPool|null |
|
hasWorkerPool
clearWorkerPool
setWorkerPool
WorkerPool resource to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Build\V1\WorkerPool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|