Required. The conversation for which the suggestions are generated. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.
Request body
The request body contains data with the following structure:
Optional. The name of the latest conversation message for which the request is triggered. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>.
[[["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 API endpoint uses a POST request to generate suggestions for a specific conversation, using the format \u003ccode\u003ePOST https://{endpoint}/v2beta1/{conversation=projects/*/locations/*/conversations/*}/suggestions:generate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econversation\u003c/code\u003e path parameter is required and specifies the conversation for which suggestions are generated, following the format: \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body, structured as a JSON object, may include \u003ccode\u003elatestMessage\u003c/code\u003e to specify the most recent message, and a \u003ccode\u003etriggerEvents\u003c/code\u003e array to indicate which generator events should be triggered.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a \u003ccode\u003eGenerateSuggestionsResponse\u003c/code\u003e object, as defined in the API's documentation.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this API requires one of two OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]