[[["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 details the \u003ccode\u003eRecommendationServiceClientImpl\u003c/code\u003e class, which is a client wrapper for the Discovery Engine v1 API's \u003ccode\u003eRecommendationService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationServiceClientImpl\u003c/code\u003e class inherits from \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e and provides methods for making recommendations, such as \u003ccode\u003eRecommend\u003c/code\u003e and \u003ccode\u003eRecommendAsync\u003c/code\u003e, which require a contextual user event.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRecommendationServiceClientImpl\u003c/code\u003e is 1.6.0, and there are previous versions dating back to 1.0.0-beta06 available.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003eGrpcClient\u003c/code\u003e and \u003ccode\u003eLocationsClient\u003c/code\u003e, which provide access to the underlying gRPC client and location-related functionality, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe client can be constructed with a gRPC client, settings, and an optional logger, as described in its constructor.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class RecommendationServiceClientImpl (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.RecommendationServiceClientImpl)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClientImpl) \n\n public sealed class RecommendationServiceClientImpl : RecommendationServiceClient\n\nReference documentation and code samples for the Discovery Engine v1 API class RecommendationServiceClientImpl.\n\nRecommendationService client wrapper implementation, for convenient use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [RecommendationServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient) \\\u003e RecommendationServiceClientImpl \n\nInherited Members\n-----------------\n\n[RecommendationServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_DefaultEndpoint) \n[RecommendationServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_DefaultScopes) \n[RecommendationServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_ServiceMetadata) \n[RecommendationServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[RecommendationServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_Create) \n[RecommendationServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_ShutdownDefaultChannelsAsync) \n[RecommendationServiceClient.RecommendAsync(RecommendRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_RecommendAsync_Google_Cloud_DiscoveryEngine_V1_RecommendRequest_System_Threading_CancellationToken_) \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\nRemarks\n-------\n\nService for making recommendations.\n\nConstructors\n------------\n\n### RecommendationServiceClientImpl(RecommendationServiceClient, RecommendationServiceSettings, ILogger)\n\n public RecommendationServiceClientImpl(RecommendationService.RecommendationServiceClient grpcClient, RecommendationServiceSettings settings, ILogger logger)\n\nConstructs a client wrapper for the RecommendationService service, with the specified gRPC client and\nsettings.\n\nProperties\n----------\n\n### GrpcClient\n\n public override RecommendationService.RecommendationServiceClient GrpcClient { get; }\n\nThe underlying gRPC RecommendationService client\n\n**Overrides** \n[RecommendationServiceClient.GrpcClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_GrpcClient)\n\n### LocationsClient\n\n public override LocationsClient LocationsClient { get; }\n\nThe [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.\n\n**Overrides** \n[RecommendationServiceClient.LocationsClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_LocationsClient)\n\nMethods\n-------\n\n### Recommend(RecommendRequest, CallSettings)\n\n public override RecommendResponse Recommend(RecommendRequest request, CallSettings callSettings = null)\n\nMakes a recommendation, which requires a contextual user event.\n\n**Overrides** \n[RecommendationServiceClient.Recommend(RecommendRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_Recommend_Google_Cloud_DiscoveryEngine_V1_RecommendRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### RecommendAsync(RecommendRequest, CallSettings)\n\n public override Task\u003cRecommendResponse\u003e RecommendAsync(RecommendRequest request, CallSettings callSettings = null)\n\nMakes a recommendation, which requires a contextual user event.\n\n**Overrides** \n[RecommendationServiceClient.RecommendAsync(RecommendRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1_RecommendationServiceClient_RecommendAsync_Google_Cloud_DiscoveryEngine_V1_RecommendRequest_Google_Api_Gax_Grpc_CallSettings_)"]]