[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eRankServiceClientImpl\u003c/code\u003e is 1.6.0, with prior versions available dating back to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRankServiceClientImpl\u003c/code\u003e is a client wrapper implementation for the Discovery Engine v1 API's \u003ccode\u003eRankService\u003c/code\u003e, designed for ease of use in ranking text records.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eRankServiceClient\u003c/code\u003e and \u003ccode\u003eobject\u003c/code\u003e, adding specific functionalities and members for interaction with the ranking service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRankServiceClientImpl\u003c/code\u003e class offers methods such as \u003ccode\u003eRank\u003c/code\u003e and \u003ccode\u003eRankAsync\u003c/code\u003e to rank text records based on a provided query.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRankServiceClientImpl\u003c/code\u003e client can be constructed using a gRPC client, settings, and an optional logger, which are configurable parameters that allow customization of the service's behavior.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class RankServiceClientImpl (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.RankServiceClientImpl)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.RankServiceClientImpl) \n\n public sealed class RankServiceClientImpl : RankServiceClient\n\nReference documentation and code samples for the Discovery Engine v1 API class RankServiceClientImpl.\n\nRankService client wrapper implementation, for convenient use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [RankServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient) \\\u003e RankServiceClientImpl \n\nInherited Members\n-----------------\n\n[RankServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_DefaultEndpoint) \n[RankServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_DefaultScopes) \n[RankServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_ServiceMetadata) \n[RankServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[RankServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_Create) \n[RankServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_ShutdownDefaultChannelsAsync) \n[RankServiceClient.RankAsync(RankRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_RankAsync_Google_Cloud_DiscoveryEngine_V1_RankRequest_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 ranking text records.\n\nConstructors\n------------\n\n### RankServiceClientImpl(RankServiceClient, RankServiceSettings, ILogger)\n\n public RankServiceClientImpl(RankService.RankServiceClient grpcClient, RankServiceSettings settings, ILogger logger)\n\nConstructs a client wrapper for the RankService service, with the specified gRPC client and settings.\n\nProperties\n----------\n\n### GrpcClient\n\n public override RankService.RankServiceClient GrpcClient { get; }\n\nThe underlying gRPC RankService client\n\n**Overrides** \n[RankServiceClient.GrpcClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_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[RankServiceClient.LocationsClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_LocationsClient)\n\nMethods\n-------\n\n### Rank(RankRequest, CallSettings)\n\n public override RankResponse Rank(RankRequest request, CallSettings callSettings = null)\n\nRanks a list of text records based on the given input query.\n\n**Overrides** \n[RankServiceClient.Rank(RankRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_Rank_Google_Cloud_DiscoveryEngine_V1_RankRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### RankAsync(RankRequest, CallSettings)\n\n public override Task\u003cRankResponse\u003e RankAsync(RankRequest request, CallSettings callSettings = null)\n\nRanks a list of text records based on the given input query.\n\n**Overrides** \n[RankServiceClient.RankAsync(RankRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankServiceClient#Google_Cloud_DiscoveryEngine_V1_RankServiceClient_RankAsync_Google_Cloud_DiscoveryEngine_V1_RankRequest_Google_Api_Gax_Grpc_CallSettings_)"]]