Google Cloud Dataproc V1 Client - Class ListSessionsResponse (2.2.1)

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

A list of interactive sessions.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sessions array<Session>

Output only. The sessions 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.

getSessions

Output only. The sessions from the specified collection.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSessions

Output only. The sessions from the specified collection.

Parameter
Name Description
var array<Session>
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