Google Cloud Dataproc V1 Client - Class ListBatchesResponse (3.10.1)

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

A list of batch workloads.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ batches array<Google\Cloud\Dataproc\V1\Batch>

The batches from the specified collection.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getBatches

The batches from the specified collection.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBatches

The batches from the specified collection.

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\Batch>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this