Google Cloud Ai Platform V1 Client - Class ListSessionsResponse (1.52.0)

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

Response message for SessionService.ListSessions.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sessions array<Session>

A list of sessions matching the request.

↳ next_page_token string

A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.

getSessions

A list of sessions matching the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSessions

A list of sessions matching the request.

Parameter
Name Description
var array<Session>
Returns
Type Description
$this

getNextPageToken

A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this