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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Provide this token to retrieve the subsequent page.

Returns
TypeDescription
string

setPageToken

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

Provide this token to retrieve the subsequent page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this