[[["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\u003eUserEventServiceSettings\u003c/code\u003e class provides configuration settings for interacting with the \u003ccode\u003eUserEventServiceClient\u003c/code\u003e in the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eServiceSettingsBase\u003c/code\u003e and includes settings for operations like collecting, importing, purging, and writing user events, including synchronous and asynchronous call configurations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUserEventServiceSettings\u003c/code\u003e allows customization of retry delays, timeouts, and status codes for various operations, with specific values detailed for operations such as \u003ccode\u003eCollectUserEvent\u003c/code\u003e, \u003ccode\u003eImportUserEvents\u003c/code\u003e, \u003ccode\u003ePurgeUserEvents\u003c/code\u003e, and \u003ccode\u003eWriteUserEvent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eLong-running operations like \u003ccode\u003eImportUserEvents\u003c/code\u003e and \u003ccode\u003ePurgeUserEvents\u003c/code\u003e can be configured using \u003ccode\u003eOperationsSettings\u003c/code\u003e, including initial delay, delay multiplier, maximum delay, and total timeout.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a default settings configuration via \u003ccode\u003eGetDefault()\u003c/code\u003e and allows duplication of object configurations through \u003ccode\u003eClone()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class UserEventServiceSettings (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceSettings)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceSettings) \n\n public sealed class UserEventServiceSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Discovery Engine v1beta API class UserEventServiceSettings.\n\nSettings for [UserEventServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### UserEventServiceSettings()\n\n public UserEventServiceSettings()\n\nConstructs a new [UserEventServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UserEventServiceSettings)."]]