- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/Shared.Types/Message.md.txt#SCHEMA_REPRESENTATION)

A message within a conversation.

| JSON representation |
|---|
| ``` { "role": string, "chunks": [ { object (`Chunk`) } ], "eventTime": string } ``` |

| Fields ||
|---|---|
| `role` | `string` Optional. The role within the conversation, e.g., user, agent. |
| `chunks[]` | ``object (`Chunk`)`` Optional. Content of the message as a series of chunks. |
| `eventTime` | ``string (`Timestamp` format)`` Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an `example`. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |