Skip to main content

ranking_configs

Creates, updates, deletes, gets or lists a ranking_configs resource.

Overview

Nameranking_configs
TypeResource
Idgoogle.discoveryengine.ranking_configs

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_ranking_configs_rankexecprojectsId, locationsId, rankingConfigsIdRanks a list of text records based on the given input query.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
rankingConfigsIdstring

Lifecycle Methods

Ranks a list of text records based on the given input query.

EXEC google.discoveryengine.ranking_configs.projects_locations_ranking_configs_rank 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@rankingConfigsId='{{ rankingConfigsId }}' --required
@@json=
'{
"model": "{{ model }}",
"topN": {{ topN }},
"query": "{{ query }}",
"records": "{{ records }}",
"ignoreRecordDetailsInResponse": {{ ignoreRecordDetailsInResponse }},
"userLabels": "{{ userLabels }}"
}';