InlineSource Stay organized with collections Save and categorize content based on your preferences.
The inline source for CompletionSuggestions.
| JSON representation |
|---|
{"suggestions":[{object ( |
| Fields | |
|---|---|
suggestions[] |
Required. A list of all denylist entries to import. Max of 1000 items. |
CompletionSuggestion
Autocomplete suggestions that are imported from Customer.
| JSON representation |
|---|
{"suggestion":string,"languageCode":string,"groupId":string,"groupScore":number,"alternativePhrases":[string],// Union field |
| Fields | |
|---|---|
suggestion |
Required. The suggestion text. |
languageCode |
BCP-47 language code of this suggestion. |
groupId |
If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions. |
groupScore |
The score of this suggestion within its group. |
alternativePhrases[] |
Alternative matching phrases for this suggestion. |
Union fieldranking_info. Ranking metrics of this suggestion.ranking_info can be only one of the following: | |
globalScore |
Global score of this suggestion. Control how this suggestion would be scored / ranked. |
frequency |
Frequency of this suggestion. Will be used to rank suggestions when score is not available. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.