[[["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\u003eThis documentation is for the \u003ccode\u003eUserEventServiceSettings\u003c/code\u003e class, which is part of the Recommendations AI v1beta1 API within the Google Cloud .NET client library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserEventServiceSettings\u003c/code\u003e class configures settings for interacting with \u003ccode\u003eUserEventServiceClient\u003c/code\u003e instances, providing customization options for various operations like collecting, importing, listing, purging, and writing user events.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eServiceSettingsBase\u003c/code\u003e and provides a \u003ccode\u003eClone()\u003c/code\u003e method to create a deep copy of the settings object, along with a static \u003ccode\u003eGetDefault()\u003c/code\u003e method for retrieving a default settings instance.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes settings for synchronous and asynchronous calls, such as \u003ccode\u003eCollectUserEventSettings\u003c/code\u003e, \u003ccode\u003eImportUserEventsSettings\u003c/code\u003e, \u003ccode\u003eListUserEventsSettings\u003c/code\u003e, \u003ccode\u003ePurgeUserEventsSettings\u003c/code\u003e, and \u003ccode\u003eWriteUserEventSettings\u003c/code\u003e, each with configurable retry delays, maximum attempts, and timeout periods.\u003c/p\u003e\n"],["\u003cp\u003eLong-running operations, such as importing and purging user events, are managed through \u003ccode\u003eImportUserEventsOperationsSettings\u003c/code\u003e and \u003ccode\u003ePurgeUserEventsOperationsSettings\u003c/code\u003e, which are configured with default polling settings.\u003c/p\u003e\n"]]],[],null,["# Recommendations AI v1beta1 API - Class UserEventServiceSettings (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.UserEventServiceSettings)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/2.0.0-beta05/Google.Cloud.RecommendationEngine.V1Beta1.UserEventServiceSettings)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/1.0.0-beta03/Google.Cloud.RecommendationEngine.V1Beta1.UserEventServiceSettings) \n\n public sealed class UserEventServiceSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Recommendations AI v1beta1 API class UserEventServiceSettings.\n\nSettings for [UserEventServiceClient](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.UserEventServiceClient) instances. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ServiceSettingsBase](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \\\u003e UserEventServiceSettings \n\nInherited Members\n-----------------\n\n[ServiceSettingsBase.VersionHeaderBuilder](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \n[ServiceSettingsBase.CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \n[ServiceSettingsBase.Clock](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \n[ServiceSettingsBase.Scheduler](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \n[ServiceSettingsBase.Interceptor](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ServiceSettingsBase.cs) \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### UserEventServiceSettings()\n\n public UserEventServiceSettings()\n\nConstructs a new [UserEventServiceSettings](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.UserEventServiceSettings) object with default settings.\n\nProperties\n----------\n\n### CollectUserEventSettings\n\n public CallSettings CollectUserEventSettings { get; set; }\n\n[CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/CallSettings.cs) for synchronous and asynchronous calls to\n`UserEventServiceClient.CollectUserEvent` and `UserEventServiceClient.CollectUserEventAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs), [DeadlineExceeded](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs).\n- Timeout: 600 seconds.\n\n### ImportUserEventsOperationsSettings\n\n public OperationsSettings ImportUserEventsOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `UserEventServiceClient.ImportUserEvents` and\n`UserEventServiceClient.ImportUserEventsAsync`.\n\n**Remarks** \nUses default [PollSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/PollSettings.cs) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### ImportUserEventsSettings\n\n public CallSettings ImportUserEventsSettings { get; set; }\n\n[CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/CallSettings.cs) for synchronous and asynchronous calls to\n`UserEventServiceClient.ImportUserEvents` and `UserEventServiceClient.ImportUserEventsAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs), [DeadlineExceeded](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs).\n- Timeout: 600 seconds.\n\n### ListUserEventsSettings\n\n public CallSettings ListUserEventsSettings { get; set; }\n\n[CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/CallSettings.cs) for synchronous and asynchronous calls to\n`UserEventServiceClient.ListUserEvents` and `UserEventServiceClient.ListUserEventsAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs), [DeadlineExceeded](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs).\n- Timeout: 600 seconds.\n\n### PurgeUserEventsOperationsSettings\n\n public OperationsSettings PurgeUserEventsOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `UserEventServiceClient.PurgeUserEvents` and\n`UserEventServiceClient.PurgeUserEventsAsync`.\n\n**Remarks** \nUses default [PollSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/PollSettings.cs) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### PurgeUserEventsSettings\n\n public CallSettings PurgeUserEventsSettings { get; set; }\n\n[CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/CallSettings.cs) for synchronous and asynchronous calls to\n`UserEventServiceClient.PurgeUserEvents` and `UserEventServiceClient.PurgeUserEventsAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs), [DeadlineExceeded](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs).\n- Timeout: 600 seconds.\n\n### WriteUserEventSettings\n\n public CallSettings WriteUserEventSettings { get; set; }\n\n[CallSettings](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/CallSettings.cs) for synchronous and asynchronous calls to\n`UserEventServiceClient.WriteUserEvent` and `UserEventServiceClient.WriteUserEventAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs), [DeadlineExceeded](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/StatusCode.cs).\n- Timeout: 600 seconds.\n\nMethods\n-------\n\n### Clone()\n\n public UserEventServiceSettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static UserEventServiceSettings GetDefault()\n\nGet a new instance of the default [UserEventServiceSettings](/dotnet/docs/reference/Google.Cloud.RecommendationEngine.V1Beta1/latest/Google.Cloud.RecommendationEngine.V1Beta1.UserEventServiceSettings)."]]