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.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent of the collection of WorkerPools
. Format: projects/{project}/locations/{location}
.
↳ page_size
int
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.
↳ page_token
string
A page token, received from a previous ListWorkerPools
call. Provide this to retrieve the subsequent page.
getParent
Required. The parent of the collection of WorkerPools
.
Format: projects/{project}/locations/{location}
.
string
setParent
Required. The parent of the collection of WorkerPools
.
Format: projects/{project}/locations/{location}
.
var
string
$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.
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.
var
int
$this
getPageToken
A page token, received from a previous ListWorkerPools
call. Provide this
to retrieve the subsequent page.
string
setPageToken
A page token, received from a previous ListWorkerPools
call. Provide this
to retrieve the subsequent page.
var
string
$this