[[["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."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eUserEventServiceSettings\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserEventServiceSettings\u003c/code\u003e class, inheriting from \u003ccode\u003eServiceSettingsBase\u003c/code\u003e, configures settings for \u003ccode\u003eUserEventServiceClient\u003c/code\u003e instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers settings related to event collection, importing, purging, and writing user events with configurable options such as retry delays, timeouts, and polling behavior for long running operations.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the properties and methods of the class, including various call settings for different user event operations, and includes inherited members from other base classes, and there are multiple versions of this class that can be referenced.\u003c/p\u003e\n"],["\u003cp\u003eThere is a default settings configuration that can be retrieved through \u003ccode\u003eGetDefault\u003c/code\u003e and the settings can also be cloned with \u003ccode\u003eClone\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class UserEventServiceSettings (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings) \n\n public sealed class UserEventServiceSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Discovery Engine v1 API class UserEventServiceSettings.\n\nSettings for [UserEventServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UserEventServiceClient) instances. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ServiceSettingsBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html) \\\u003e UserEventServiceSettings \n\nInherited Members\n-----------------\n\n[ServiceSettingsBase.VersionHeaderBuilder](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) \n[ServiceSettingsBase.CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) \n[ServiceSettingsBase.Clock](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) \n[ServiceSettingsBase.Scheduler](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) \n[ServiceSettingsBase.Interceptor](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) \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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### UserEventServiceSettings()\n\n public UserEventServiceSettings()\n\nConstructs a new [UserEventServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings) object with default settings.\n\nProperties\n----------\n\n### CollectUserEventSettings\n\n public CallSettings CollectUserEventSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`UserEventServiceClient.CollectUserEvent` and `UserEventServiceClient.CollectUserEventAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 10000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 30 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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) 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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`UserEventServiceClient.ImportUserEvents` and `UserEventServiceClient.ImportUserEventsAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 30000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 300 seconds.\n\n### LocationsSettings\n\n public LocationsSettings LocationsSettings { get; set; }\n\nThe settings to use for the [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with the client.\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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) 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://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`UserEventServiceClient.PurgeUserEvents` and `UserEventServiceClient.PurgeUserEventsAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 10000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 30 seconds.\n\n### WriteUserEventSettings\n\n public CallSettings WriteUserEventSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`UserEventServiceClient.WriteUserEvent` and `UserEventServiceClient.WriteUserEventAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 10000 milliseconds.\n- Maximum attempts: Unlimited\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 30 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.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UserEventServiceSettings)."]]