Represents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent.
JSON representation
{"intent": string,"languageCode": string}
Fields
intent
string
Required. The unique identifier of the intent in V3 agent. Format: projects/<Project ID>/locations/<Location ID>/locations/<Location
ID>/agents/<Agent ID>/intents/<Intent ID>.
languageCode
string
Required. The language of this conversational query. See Language Support for a list of the currently supported language codes.
[[["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 section outlines the JSON representation for programmatically triggering intents in V3 agents."],["The JSON object requires two fields: `intent`, which is a unique identifier for the intent, and `languageCode`, specifying the conversational query's language."],["The `intent` field must follow a specific format: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/locations/\u003cLocation ID\u003e/agents/\u003cAgent ID\u003e/intents/\u003cIntent ID\u003e`."],["The languageCode field has to be chosen from the list of supported languages, available in the document."]]],[]]