- [JSON representation](https://docs.cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/Query#SCHEMA_REPRESENTATION)

Defines a user inputed query.

| JSON representation |
|---|
| ``` { "queryId": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `queryId` | `string` Output only. Unique ID for the query. |
| Query content. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `text` | `string` Plain text. |
| End of mutually exclusive fields. ||