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

Configuration of a send message request.

| JSON representation |
|---|
| ``` { "acceptedOutputModes": [ string ], "pushNotification": { object (`PushNotificationConfig`) }, "historyLength": integer, "blocking": boolean } ``` |

| Fields ||
|---|---|
| `acceptedOutputModes[]` | `string` The output modes that the agent is expected to respond with. |
| `pushNotification` | ``object (`PushNotificationConfig`)`` A configuration of a webhook that can be used to receive updates |
| `historyLength` | `integer` The maximum number of messages to include in the history. if 0, the history will be unlimited. |
| `blocking` | `boolean` If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates. |