public sealed class PurgeUserEventsResponse : IMessage<PurgeUserEventsResponse>, IEquatable<PurgeUserEventsResponse>, IDeepCloneable<PurgeUserEventsResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Recommendations AI v1beta1 API 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePurgeUserEventsResponse\u003c/code\u003e class is part of the Recommendations AI v1beta1 API within the \u003ccode\u003eGoogle.Cloud.RecommendationEngine.V1Beta1\u003c/code\u003e namespace, specifically designed to handle the response from a \u003ccode\u003ePurgeUserEventsRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class, representing a response, is returned after a successful long-running operation to purge user events, providing feedback on the process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePurgeUserEventsResponse\u003c/code\u003e provides two primary properties, \u003ccode\u003ePurgedEventsCount\u003c/code\u003e, indicating the total number of events removed, and \u003ccode\u003eUserEventsSample\u003c/code\u003e, offering a sample of up to 500 events deleted or scheduled for deletion.\u003c/p\u003e\n"],["\u003cp\u003eThere are currently three versions available for the PurgeUserEventsResponse, including beta versions 2.0.0-beta06, 2.0.0-beta05, and 1.0.0-beta03.\u003c/p\u003e\n"]]],[],null,["# Recommendations AI v1beta1 API - Class PurgeUserEventsResponse (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/2.0.0-beta05/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/1.0.0-beta03/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse) \n\n public sealed class PurgeUserEventsResponse : IMessage\u003cPurgeUserEventsResponse\u003e, IEquatable\u003cPurgeUserEventsResponse\u003e, IDeepCloneable\u003cPurgeUserEventsResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Recommendations AI v1beta1 API class 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\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PurgeUserEventsResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PurgeUserEventsResponse](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PurgeUserEventsResponse](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PurgeUserEventsResponse](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.PurgeUserEventsResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.RecommendationEngine.V1Beta1](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecommendationEngine.V1Beta1.dll\n\nConstructors\n------------\n\n### PurgeUserEventsResponse()\n\n public PurgeUserEventsResponse()\n\n### PurgeUserEventsResponse(PurgeUserEventsResponse)\n\n public PurgeUserEventsResponse(PurgeUserEventsResponse other)\n\nProperties\n----------\n\n### PurgedEventsCount\n\n public long PurgedEventsCount { get; set; }\n\nThe total count of events purged as a result of the operation.\n\n### UserEventsSample\n\n public RepeatedField\u003cUserEvent\u003e UserEventsSample { get; }\n\nA sampling of events deleted (or will be deleted) depending on the `force`\nproperty in the request. Max of 500 items will be returned."]]