ranking_configs
Creates, updates, deletes, gets or lists a ranking_configs
resource.
Overview
Name | ranking_configs |
Type | Resource |
Id | google.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_ranking_configs_rank | exec | projectsId , locationsId , rankingConfigsId | Ranks 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
rankingConfigsId | string |
Lifecycle Methods
- projects_locations_ranking_configs_rank
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 }}"
}';