Google Cloud Ai Platform V1 Client - Class ListEventsResponse (1.60.0)

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

Response message for SessionService.ListEvents.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ session_events array<SessionEvent>

A list of events matching the request. Ordered by timestamp in ascending order.

↳ next_page_token string

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

getSessionEvents

A list of events matching the request. Ordered by timestamp in ascending order.

Returns
Type Description
Google\Protobuf\RepeatedField<SessionEvent>

setSessionEvents

A list of events matching the request. Ordered by timestamp in ascending order.

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

getNextPageToken

A token, which can be sent as ListEventsRequest.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 ListEventsRequest.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