Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature.
This method is a long-running operation. The returned Operation type has the following method-specific fields:
If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.
HTTP request
POST https://{endpoint}/v2beta1/{conversationProfile=projects/*/locations/*/conversationProfiles/*}:setSuggestionFeatureConfig
Required. The Conversation Profile to add or update the suggestion feature config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
Request body
The request body contains data with the following structure:
[[["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 webpage details how to add or update a suggestion feature within a conversation profile using the \u003ccode\u003esetSuggestionFeatureConfig\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves sending a POST request to a specified endpoint, including the conversation profile and necessary configuration details in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparticipantRole\u003c/code\u003e and \u003ccode\u003esuggestionFeatureConfig\u003c/code\u003e fields within the request body are required to specify who the feature will be applied to and what the feature will be, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe method is a long-running operation, returning an \u003ccode\u003eOperation\u003c/code\u003e object that includes metadata and response information, and existing operations must be canceled before attempting to add or update the suggestion feature.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this method requires one of the specified 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,[]]