Reference documentation and code samples for the Google Cloud Build V1 Client class ListWorkerPoolsRequest.
Request to list WorkerPool
s.
Generated from protobuf message google.devtools.cloudbuild.v1.ListWorkerPoolsRequest
Namespace
Google \ Cloud \ Build \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent of the collection of |
↳ page_size |
int
The maximum number of |
↳ page_token |
string
A page token, received from a previous |
getParent
Required. The parent of the collection of WorkerPools
.
Format: projects/{project}/locations/{location}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent of the collection of WorkerPools
.
Format: projects/{project}/locations/{location}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
The maximum number of WorkerPool
s to return. The service may return
fewer than this value. If omitted, the server will use a sensible default.
Returns | |
---|---|
Type | Description |
int |
setPageSize
The maximum number of WorkerPool
s to return. The service may return
fewer than this value. If omitted, the server will use a sensible default.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
A page token, received from a previous ListWorkerPools
call. Provide this
to retrieve the subsequent page.
Returns | |
---|---|
Type | Description |
string |
setPageToken
A page token, received from a previous ListWorkerPools
call. Provide this
to retrieve the subsequent page.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |