[[["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\u003eRankService.RankServiceClient\u003c/code\u003e is 1.6.0, as indicated in the provided version list, with older versions also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRankService.RankServiceClient\u003c/code\u003e class is a client for the RankService API, and it inherits from the \u003ccode\u003eClientBase\u003c/code\u003e class, providing functionalities to interact with the service.\u003c/p\u003e\n"],["\u003cp\u003eYou can instantiate a \u003ccode\u003eRankService.RankServiceClient\u003c/code\u003e using different constructors, including a protected parameterless constructor, a constructor with a \u003ccode\u003eCallInvoker\u003c/code\u003e, a constructor with a \u003ccode\u003eChannelBase\u003c/code\u003e, and a constructor with \u003ccode\u003eClientBaseConfiguration\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis client offers methods to interact with the RankService, including \u003ccode\u003eRank\u003c/code\u003e, \u003ccode\u003eRankAsync\u003c/code\u003e, and the ability to create a \u003ccode\u003eLocations.LocationsClient\u003c/code\u003e through the \u003ccode\u003eCreateLocationsClient\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRank\u003c/code\u003e and \u003ccode\u003eRankAsync\u003c/code\u003e methods, found in the \u003ccode\u003eRankService.RankServiceClient\u003c/code\u003e class, are designed to rank a list of text records based on a given input query, returning a \u003ccode\u003eRankResponse\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class RankService.RankServiceClient (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.RankService.RankServiceClient)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient) \n\n public class RankService.RankServiceClient : ClientBase\u003cRankService.RankServiceClient\u003e\n\nReference documentation and code samples for the Discovery Engine v1 API class RankService.RankServiceClient.\n\nClient for RankService \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)[RankService](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankService)[RankServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient) \\\u003e RankService.RankServiceClient \n\nInherited Members\n-----------------\n\n[ClientBase\\\u003cRankService.RankServiceClient\\\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### RankServiceClient()\n\n protected RankServiceClient()\n\nProtected parameterless constructor to allow creation of test doubles.\n\n### RankServiceClient(CallInvoker)\n\n public RankServiceClient(CallInvoker callInvoker)\n\nCreates a new client for RankService that uses a custom `CallInvoker`.\n\n### RankServiceClient(ChannelBase)\n\n public RankServiceClient(ChannelBase channel)\n\nCreates a new client for RankService\n\n### RankServiceClient(ClientBaseConfiguration)\n\n protected RankServiceClient(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 RankService.RankServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)\n\nCreates a new instance of client from given `ClientBaseConfiguration`.\n\n**Overrides** \nGrpc.Core.ClientBase\\\u003cGoogle.Cloud.DiscoveryEngine.V1.RankService.RankServiceClient\\\u003e.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)\n\n### Rank(RankRequest, CallOptions)\n\n public virtual RankResponse Rank(RankRequest request, CallOptions options)\n\nRanks a list of text records based on the given input query.\n\n### Rank(RankRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual RankResponse Rank(RankRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nRanks a list of text records based on the given input query.\n\n### RankAsync(RankRequest, CallOptions)\n\n public virtual AsyncUnaryCall\u003cRankResponse\u003e RankAsync(RankRequest request, CallOptions options)\n\nRanks a list of text records based on the given input query.\n\n### RankAsync(RankRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual AsyncUnaryCall\u003cRankResponse\u003e RankAsync(RankRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nRanks a list of text records based on the given input query."]]