Google Cloud Recommendation Engine V1beta1 Client - Class ListUserEventsResponse (0.6.4)

Reference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class ListUserEventsResponse.

Response message for ListUserEvents method.

Generated from protobuf message google.cloud.recommendationengine.v1beta1.ListUserEventsResponse

Namespace

Google \ Cloud \ RecommendationEngine \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ user_events array<Google\Cloud\RecommendationEngine\V1beta1\UserEvent>

The user events.

↳ next_page_token string

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

getUserEvents

The user events.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUserEvents

The user events.

Parameter
NameDescription
var array<Google\Cloud\RecommendationEngine\V1beta1\UserEvent>
Returns
TypeDescription
$this

getNextPageToken

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

Returns
TypeDescription
string

setNextPageToken

If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this