Google Cloud Dataproc V1 Client - Class ListBatchesResponse (3.2.2)

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

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.

Generated from protobuf field repeated .google.cloud.dataproc.v1.Batch batches = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBatches

The batches from the specified collection.

Generated from protobuf field repeated .google.cloud.dataproc.v1.Batch batches = 1;

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.

Generated from protobuf field string next_page_token = 2;

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.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this