Google Cloud Build V1 Client - Class ListWorkerPoolsRequest (0.5.1)

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

Methods

__construct

Constructor.

Parameters
Name
Description
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} .

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: