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-03-05 UTC."],[[["This API endpoint uses a POST request to generate suggestions for a specific conversation, using the format `POST https://{endpoint}/v2beta1/{conversation=projects/*/locations/*/conversations/*}/suggestions:generate`."],["The `conversation` path parameter is required and specifies the conversation for which suggestions are generated, following the format: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/conversations/\u003cConversation ID\u003e`."],["The request body, structured as a JSON object, may include `latestMessage` to specify the most recent message, and a `triggerEvents` array to indicate which generator events should be triggered."],["A successful request returns a `GenerateSuggestionsResponse` object, as defined in the API's documentation."],["Authorization for this API requires one of two OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow`."]]],[]]