Google Cloud Recommendation Engine V1beta1 Client - Class PurgeUserEventsResponse (0.5.0)

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

Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ purged_events_count int|string

The total count of events purged as a result of the operation.

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

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

getPurgedEventsCount

The total count of events purged as a result of the operation.

Returns
TypeDescription
int|string

setPurgedEventsCount

The total count of events purged as a result of the operation.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getUserEventsSample

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUserEventsSample

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

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