rank
public DiscoveryEngine.Projects.Locations.RankingConfigs.Rank rank(String rankingConfig,
GoogleCloudDiscoveryengineV1RankRequest content)
throws IOException
Ranks a list of text records based on the given input query.
Create a request for the method "rankingConfigs.rank".
This request holds the parameters needed by the discoveryengine server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
rankingConfig - Required. The resource name of the rank service config, such as
`projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`.
content - the GoogleCloudDiscoveryengineV1RankRequest
- Returns:
- the request
- Throws:
IOException