A2AMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)A2AMessage is one unit of communication between client and server.
Attributes |
|
|---|---|
| Name | Description |
message_id |
str
Optional. The unique identifier (e.g. UUID) of the message. |
context_id |
str
Optional. The context id of the message. |
task_id |
str
Optional. The task id of the message. |
role |
google.cloud.geminidataanalytics_v1alpha.types.Role
Optional. A role for the message. |
content |
MutableSequence[google.cloud.geminidataanalytics_v1alpha.types.Part]
Optional. Content is the container of the message content. |
metadata |
google.protobuf.struct_pb2.Struct
Optional. Any optional metadata to provide along with the message. |
extensions |
MutableSequence[str]
Optional. The URIs of extensions that are present or contributed to this Message. |