Catalog level autocomplete config for customers to customize autocomplete feature's settings.
JSON representation |
---|
{ "name": string, "matchingOrder": string, "maxSuggestions": integer, "minPrefixLength": integer, "autoLearning": boolean, "suggestionsInputConfig": { object ( |
Fields | |
---|---|
name |
Required. Immutable. Fully qualified name |
matchingOrder |
Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values:
Default value: 'exact-prefix'. |
maxSuggestions |
The maximum number of autocomplete suggestions returned per term. The maximum allowed max suggestions is 20. Default value is 20. If left unset or set to 0, then will fallback to default value. |
minPrefixLength |
The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. |
autoLearning |
If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use |
suggestionsInputConfig |
Output only. The input config for the import of the source data that contains the autocomplete phrases uploaded by the customer. |
lastSuggestionsImportOperation |
Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use |
denylistInputConfig |
Output only. The input config for the import of the source data that contains the / autocomplete denylist phrases uploaded by the customer. |
lastDenylistImportOperation |
Output only. LRO corresponding to the latest denylist import. Can use |
allowlistInputConfig |
Output only. The input config for the import of the source data that contains the autocomplete allowlist phrases uploaded by the customer. |
lastAllowlistImportOperation |
Output only. LRO corresponding to the latest allowlist import. Can use |