# SendMessageConfiguration

- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/SendMessageConfiguration#SCHEMA_REPRESENTATION)

Configuration of a send message request.

| JSON representation |
|---|
| ``` { "acceptedOutputModes": [ string ], "pushNotification": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#PushNotificationConfig`) }, "historyLength": integer, "blocking": boolean } ``` |

| Fields ||
|---|---|
| `acceptedOutputModes[]` | `string` The output modes that the agent is expected to respond with. |
| `pushNotification` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1/projects.locations.collections.engines.assistants.agents.a2a.v1.tasks.pushNotificationConfigs#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. |