[[["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 outlines the JSON representation and fields for the \u003ccode\u003eCompleteQuery\u003c/code\u003e response, detailing how query suggestions are structured.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of \u003ccode\u003equerySuggestions\u003c/code\u003e, which are ordered with the top suggestion listed first and are objects of the \u003ccode\u003eQuerySuggestion\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etailMatchTriggered\u003c/code\u003e boolean indicates if the suggestions are tail suggestions, which are activated when no suggestions fully match the query and \u003ccode\u003eincludeTailSuggestions\u003c/code\u003e is true.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eQuerySuggestion\u003c/code\u003e contains a \u003ccode\u003esuggestion\u003c/code\u003e string representing a suggested query, and optionally \u003ccode\u003ecompletableFieldPaths\u003c/code\u003e if the suggestion originates from document-completable fields.\u003c/p\u003e\n"]]],[],null,["# CompleteQueryResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [QuerySuggestion](#QuerySuggestion)\n - [JSON representation](#QuerySuggestion.SCHEMA_REPRESENTATION)\n\nResponse message for [CompletionService.CompleteQuery](/generative-ai-app-builder/docs/reference/rest/v1beta/projects.locations.dataStores/completeQuery#google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery) method.\n\nQuerySuggestion\n---------------\n\nSuggestions as search queries."]]