A2ATask(mapping=None, *, ignore_unknown_fields=False, **kwargs)A2ATask is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.
Attributes |
|
|---|---|
| Name | Description |
id |
str
Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task. |
context_id |
str
Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server. |
status |
google.cloud.geminidataanalytics_v1beta.types.TaskStatus
Optional. The current status of a Task, including state and a message. |
artifacts |
MutableSequence[google.cloud.geminidataanalytics_v1beta.types.A2AArtifact]
Optional. A set of output artifacts for a Task. |
history |
MutableSequence[google.cloud.geminidataanalytics_v1beta.types.A2AMessage]
Optional. The history of interactions from a task. |
metadata |
google.protobuf.struct_pb2.Struct
Optional. A key/value object to store custom metadata about a task. |