[[["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\u003e\u003ccode\u003eRecommendationServiceClientImpl\u003c/code\u003e is a client wrapper implementation for the \u003ccode\u003eRecommendationService\u003c/code\u003e API within the Google Cloud Discovery Engine v1beta.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e and provides methods for making recommendations, requiring a contextual user event.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationServiceClientImpl\u003c/code\u003e class allows for the creation of clients using specified gRPC settings and an optional logger for more detailed operation.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides access to an underlying gRPC \u003ccode\u003eRecommendationServiceClient\u003c/code\u003e, as well as a \u003ccode\u003eLocationsClient\u003c/code\u003e for associated location-based operations.\u003c/p\u003e\n"],["\u003cp\u003eIt has methods to provide recommendations synchronously and asynchronously through \u003ccode\u003eRecommend\u003c/code\u003e and \u003ccode\u003eRecommendAsync\u003c/code\u003e respectively, both taking in a \u003ccode\u003eRecommendRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class RecommendationServiceClientImpl (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.RecommendationServiceClientImpl)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClientImpl) \n\n public sealed class RecommendationServiceClientImpl : RecommendationServiceClient\n\nReference documentation and code samples for the Discovery Engine v1beta 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient) \\\u003e RecommendationServiceClientImpl \n\nInherited Members\n-----------------\n\n[RecommendationServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_DefaultEndpoint) \n[RecommendationServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_DefaultScopes) \n[RecommendationServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_ServiceMetadata) \n[RecommendationServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[RecommendationServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_Create) \n[RecommendationServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_ShutdownDefaultChannelsAsync) \n[RecommendationServiceClient.RecommendAsync(RecommendRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_RecommendAsync_Google_Cloud_DiscoveryEngine_V1Beta_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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_Recommend_Google_Cloud_DiscoveryEngine_V1Beta_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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_RecommendationServiceClient_RecommendAsync_Google_Cloud_DiscoveryEngine_V1Beta_RecommendRequest_Google_Api_Gax_Grpc_CallSettings_)"]]