Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text.
An event that specifies which intent to trigger.
JSON representation
{// Union field input can be only one of the following:"audioConfig": {object (InputAudioConfig)},"text": {object (TextInput)},"event": {object (EventInput)}// End of list of possible types for union field input.}
Fields
Union field input. Required. The input specification. input can be only one of the following:
[[["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\u003eThe input can be represented in JSON format and specifies the type of query.\u003c/p\u003e\n"],["\u003cp\u003eThe query input can be an audio configuration, which tells the speech recognizer how to handle audio input.\u003c/p\u003e\n"],["\u003cp\u003eThe input can alternatively be a text query, limited to 256 characters for virtual agent interactions.\u003c/p\u003e\n"],["\u003cp\u003eAnother possible query input is an event, which specifies which intent to trigger in the system.\u003c/p\u003e\n"]]],[],null,["# QueryInput\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents the query input. It can contain either:\n\n1. An audio config which instructs the speech recognizer how to process the speech audio.\n\n2. A conversational query in the form of text.\n\n3. An event that specifies which intent to trigger."]]