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."],[[["The endpoint for generating suggestions is `POST https://{endpoint}/v2/{conversation=projects/*/locations/*/conversations/*}/suggestions:generate`, where the `conversation` path parameter specifies the target conversation."],["The request body must contain a JSON representation with optional fields `latestMessage`, which is the name of the last conversation message, and `triggerEvents`, which specifies a list of events to trigger the suggestion generation."],["Generating suggestions requires specifying a conversation path parameter in the format `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/conversations/\u003cConversation ID\u003e`."],["Successful requests return a `GenerateSuggestionsResponse`, and the API requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope for authorization."]]],[]]