[[["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 covers the \u003ccode\u003eRecommendationServiceSettings\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendationServiceSettings\u003c/code\u003e provides configuration options for \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e instances, which includes settings for the associated \u003ccode\u003eLocationsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports versioning, with the latest stable release being 1.0.0-beta18, as well as an older version 1.0.0-beta17 available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eLocationsSettings\u003c/code\u003e and \u003ccode\u003eRecommendSettings\u003c/code\u003e, which are used to specify settings for location services and recommendation calls respectively.\u003c/p\u003e\n"],["\u003cp\u003eMethods available in the \u003ccode\u003eRecommendationServiceSettings\u003c/code\u003e class include \u003ccode\u003eClone()\u003c/code\u003e, which creates a deep copy of the settings, and \u003ccode\u003eGetDefault()\u003c/code\u003e, which returns a new instance with default settings.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class RecommendationServiceSettings (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.RecommendationServiceSettings)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceSettings) \n\n public sealed class RecommendationServiceSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Discovery Engine v1beta API class RecommendationServiceSettings.\n\nSettings for [RecommendationServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient) 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 RecommendationServiceSettings \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### RecommendationServiceSettings()\n\n public RecommendationServiceSettings()\n\nConstructs a new [RecommendationServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceSettings) object with default settings.\n\nProperties\n----------\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### RecommendSettings\n\n public CallSettings RecommendSettings { 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`RecommendationServiceClient.Recommend` and `RecommendationServiceClient.RecommendAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 5000 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: 5 seconds.\n\nMethods\n-------\n\n### Clone()\n\n public RecommendationServiceSettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static RecommendationServiceSettings GetDefault()\n\nGet a new instance of the default [RecommendationServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceSettings)."]]