- [JSON representation](https://docs.cloud.google.com/gemini/data-agents/reference/rest/Shared.Types/SendMessageResponse.md.txt#SCHEMA_REPRESENTATION)

////// Response Messages ///////////

| JSON representation |
|---|
| ``` { // Union field `payload` can be only one of the following: "task": { object (`Task`) }, "message": { object (`Message`) } // End of list of possible types for union field `payload`. } ``` |

| Fields ||
|---|---|
| Union field `payload`. `payload` can be only one of the following: ||
| `task` | ``object (`Task`)`` |
| `message` | ``object (`Message`)`` |