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. SeeLanguage Supportfor 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-06-27 UTC."],[[["\u003cp\u003eThis section outlines the JSON representation for programmatically triggering intents in V3 agents.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON object requires two fields: \u003ccode\u003eintent\u003c/code\u003e, which is a unique identifier for the intent, and \u003ccode\u003elanguageCode\u003c/code\u003e, specifying the conversational query's language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eintent\u003c/code\u003e field must follow a specific format: \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe languageCode field has to be chosen from the list of supported languages, available in the document.\u003c/p\u003e\n"]]],[],null,["# IntentInput\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent."]]