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 ranking_info can be only one of the following:"globalScore": number,"frequency": string// End of list of possible types for union field ranking_info.}
Fields
suggestion
string
Required. The suggestion text.
languageCode
string
BCP-47 language code of this suggestion.
groupId
string
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
number
The score of this suggestion within its group.
alternativePhrases[]
string
Alternative matching phrases for this suggestion.
Union field ranking_info. Ranking metrics of this suggestion. ranking_info can be only one of the following:
globalScore
number
Global score of this suggestion. Control how this suggestion would be scored / ranked.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis content defines the structure and fields for \u003ccode\u003eCompletionSuggestion\u003c/code\u003e, which represents autocomplete suggestions imported from a customer.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCompletionSuggestion\u003c/code\u003e data includes a \u003ccode\u003esuggestion\u003c/code\u003e text, \u003ccode\u003elanguageCode\u003c/code\u003e, \u003ccode\u003egroupId\u003c/code\u003e for de-duplication, \u003ccode\u003egroupScore\u003c/code\u003e, and \u003ccode\u003ealternativePhrases\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eranking_info\u003c/code\u003e union field within \u003ccode\u003eCompletionSuggestion\u003c/code\u003e allows either a \u003ccode\u003eglobalScore\u003c/code\u003e or \u003ccode\u003efrequency\u003c/code\u003e to be used for ranking the suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation for the \u003ccode\u003eCompletionSuggestion\u003c/code\u003e object includes an array of suggestions with each of those represented by the fields contained within the object.\u003c/p\u003e\n"]]],[],null,["# InlineSource\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [CompletionSuggestion](#CompletionSuggestion)\n - [JSON representation](#CompletionSuggestion.SCHEMA_REPRESENTATION)\n\nThe inline source for CompletionSuggestions.\n\nCompletionSuggestion\n--------------------\n\nAutocomplete suggestions that are imported from Customer."]]