- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/QueryInput#SCHEMA_REPRESENTATION)

Represents the query input. It can contain either:

1. An audio config which instructs the speech recognizer how to process the speech audio.

2. A conversational query in the form of text.

3. An event that specifies which intent to trigger.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "audioConfig": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/InputAudioConfig`) }, "text": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/TextInput`) }, "event": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/EventInput`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| Required. The input specification. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `audioConfig` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/InputAudioConfig`)`` Instructs the speech recognizer how to process the speech audio. |
| `text` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/TextInput`)`` The natural language text to be processed. Text length must not exceed 256 character for virtual agent interactions. |
| `event` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2/EventInput`)`` The event to be processed. |
| End of mutually exclusive fields. ||