Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#purged_events_count
defpurged_events_count()->::Integer
Returns
(::Integer) — The total count of events purged as a result of the operation.
#purged_events_count=
defpurged_events_count=(value)->::Integer
Parameter
value (::Integer) — The total count of events purged as a result of the operation.
Returns
(::Integer) — The total count of events purged as a result of the operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::PurgeUserEventsResponse (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.12.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.12.1/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.11.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.11.0/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.10.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.10.0/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.9.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.9.2/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.8.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.8.2/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.7.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.7.0/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.6.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.6.1/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.5.0/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.4.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.4.1/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse)\n- [0.3.7](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.3.7/Google-Cloud-RecommendationEngine-V1beta1-PurgeUserEventsResponse) \nReference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::PurgeUserEventsResponse.\n\nResponse of the PurgeUserEventsRequest. If the long running operation is\nsuccessfully done, then this message is returned by the\ngoogle.longrunning.Operations.response field. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #purged_events_count\n\n def purged_events_count() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The total count of events purged as a result of the operation.\n\n### #purged_events_count=\n\n def purged_events_count=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The total count of events purged as a result of the operation. \n**Returns**\n\n- (::Integer) --- The total count of events purged as a result of the operation.\n\n### #user_events_sample\n\n def user_events_sample() -\u003e ::Array\u003c::Google::Cloud::RecommendationEngine::V1beta1::UserEvent\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::RecommendationEngine::V1beta1::UserEvent](./Google-Cloud-RecommendationEngine-V1beta1-UserEvent)\\\u003e) --- A sampling of events deleted (or will be deleted) depending on the `force` property in the request. Max of 500 items will be returned.\n\n### #user_events_sample=\n\n def user_events_sample=(value) -\u003e ::Array\u003c::Google::Cloud::RecommendationEngine::V1beta1::UserEvent\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::RecommendationEngine::V1beta1::UserEvent](./Google-Cloud-RecommendationEngine-V1beta1-UserEvent)\\\u003e) --- A sampling of events deleted (or will be deleted) depending on the `force` property in the request. Max of 500 items will be returned. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::RecommendationEngine::V1beta1::UserEvent](./Google-Cloud-RecommendationEngine-V1beta1-UserEvent)\\\u003e) --- A sampling of events deleted (or will be deleted) depending on the `force` property in the request. Max of 500 items will be returned."]]