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
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}
.
↳ worker_pool
↳ worker_pool_id
string
Required. Immutable. The ID to use for the WorkerPool
, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.
↳ validate_only
bool
If set, validate the request and preview the response, but do not actually post it.
getParent
Required. The parent resource where this worker pool will be created.
Format: projects/{project}/locations/{location}
.
string
setParent
Required. The parent resource where this worker pool will be created.
Format: projects/{project}/locations/{location}
.
var
string
$this
getWorkerPool
Required. WorkerPool
resource to create.
hasWorkerPool
clearWorkerPool
setWorkerPool
Required. WorkerPool
resource to create.
$this
getWorkerPoolId
Required. Immutable. The ID to use for the WorkerPool
, which will become
the final component of the resource name.
This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.
string
setWorkerPoolId
Required. Immutable. The ID to use for the WorkerPool
, which will become
the final component of the resource name.
This value should be 1-63 characters, and valid characters are /[a-z][0-9]-/.
var
string
$this
getValidateOnly
If set, validate the request and preview the response, but do not actually post it.
bool
setValidateOnly
If set, validate the request and preview the response, but do not actually post it.
var
bool
$this