Google Cloud Dataproc V1 Client - Class ListBatchesResponse (2.2.0)

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

↳ unreachable array

Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.

getBatches

The batches from the specified collection.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBatches

The batches from the specified collection.

Parameter
Name Description
var array<Google\Cloud\Dataproc\V1\Batch>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getUnreachable

Output only. List of Batches that could not be included in the response.

Attempting to get one of these resources may indicate why it was not included in the list response.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Output only. List of Batches that could not be included in the response.

Attempting to get one of these resources may indicate why it was not included in the list response.

Parameter
Name Description
var string[]
Returns
Type Description
$this