[[["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 latest version of the \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e for the Discovery Engine v1 API is 1.6.0, with several previous versions available for use, including 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0 and a beta version, 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eRecommendationService.RecommendationServiceClient\u003c/code\u003e, provides methods to interact with the RecommendationService, including \u003ccode\u003eRecommend\u003c/code\u003e and \u003ccode\u003eRecommendAsync\u003c/code\u003e which process recommendation requests based on user events.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e can be initialized with various parameters such as a \u003ccode\u003eCallInvoker\u003c/code\u003e, \u003ccode\u003eChannelBase\u003c/code\u003e, or a \u003ccode\u003eClientBaseConfiguration\u003c/code\u003e to customize how remote calls are made, or to create configured clients.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from \u003ccode\u003eClientBase\u003c/code\u003e, including functionalities like \u003ccode\u003eWithHost\u003c/code\u003e, \u003ccode\u003eCallInvoker\u003c/code\u003e, and various object methods, and also offers the capability to create a \u003ccode\u003eLocationsClient\u003c/code\u003e using the same call invoker.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and its primary assembly is \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class RecommendationService.RecommendationServiceClient (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.RecommendationService.RecommendationServiceClient)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient) \n\n public class RecommendationService.RecommendationServiceClient : ClientBase\u003cRecommendationService.RecommendationServiceClient\u003e\n\nReference documentation and code samples for the Discovery Engine v1 API class RecommendationService.RecommendationServiceClient.\n\nClient for RecommendationService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html) \\\u003e [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html)[RecommendationService](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationService)[RecommendationServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient) \\\u003e RecommendationService.RecommendationServiceClient \n\nInherited Members\n-----------------\n\n[ClientBase\\\u003cRecommendationService.RecommendationServiceClient\\\u003e.WithHost(string)](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html#Grpc_Core_ClientBase_1_WithHost_System_String_) \n[ClientBase.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html#Grpc_Core_ClientBase_CallInvoker) \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \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### RecommendationServiceClient()\n\n protected RecommendationServiceClient()\n\nProtected parameterless constructor to allow creation of test doubles.\n\n### RecommendationServiceClient(CallInvoker)\n\n public RecommendationServiceClient(CallInvoker callInvoker)\n\nCreates a new client for RecommendationService that uses a custom `CallInvoker`.\n\n### RecommendationServiceClient(ChannelBase)\n\n public RecommendationServiceClient(ChannelBase channel)\n\nCreates a new client for RecommendationService\n\n### RecommendationServiceClient(ClientBaseConfiguration)\n\n protected RecommendationServiceClient(ClientBase.ClientBaseConfiguration configuration)\n\nProtected constructor to allow creation of configured clients.\n\nMethods\n-------\n\n### CreateLocationsClient()\n\n public virtual Locations.LocationsClient CreateLocationsClient()\n\nCreates a new instance of [Locations.LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.html) using the same call invoker as\nthis client.\n\n### NewInstance(ClientBaseConfiguration)\n\n protected override RecommendationService.RecommendationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)\n\nCreates a new instance of client from given `ClientBaseConfiguration`.\n\n**Overrides** \nGrpc.Core.ClientBase\\\u003cGoogle.Cloud.DiscoveryEngine.V1.RecommendationService.RecommendationServiceClient\\\u003e.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)\n\n### Recommend(RecommendRequest, CallOptions)\n\n public virtual RecommendResponse Recommend(RecommendRequest request, CallOptions options)\n\nMakes a recommendation, which requires a contextual user event.\n\n### Recommend(RecommendRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual RecommendResponse Recommend(RecommendRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nMakes a recommendation, which requires a contextual user event.\n\n### RecommendAsync(RecommendRequest, CallOptions)\n\n public virtual AsyncUnaryCall\u003cRecommendResponse\u003e RecommendAsync(RecommendRequest request, CallOptions options)\n\nMakes a recommendation, which requires a contextual user event.\n\n### RecommendAsync(RecommendRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual AsyncUnaryCall\u003cRecommendResponse\u003e RecommendAsync(RecommendRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nMakes a recommendation, which requires a contextual user event."]]