Google Cloud Dataproc V1 Client - Class ListBatchesRequest (3.3.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ListBatchesRequest.

A request to list batch workloads in a project.

Generated from protobuf message google.cloud.dataproc.v1.ListBatchesRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns this collection of batches.

↳ page_size int

Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.

↳ page_token string

Optional. A page token received from a previous ListBatches call. Provide this token to retrieve the subsequent page.

getParent

Required. The parent, which owns this collection of batches.

Returns
Type Description
string

setParent

Required. The parent, which owns this collection of batches.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of batches to return in each response.

The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of batches to return in each response.

The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token received from a previous ListBatches call.

Provide this token to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. A page token received from a previous ListBatches call.

Provide this token to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this