Google Cloud Recommendation Engine V1beta1 Client - Class ListUserEventsResponse (0.7.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setUserEvents

The user events.

Parameter
Name Description
var array<Google\Cloud\RecommendationEngine\V1beta1\UserEvent>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this