public sealed class A2ATask : IMessage<A2ATask>, IEquatable<A2ATask>, IDeepCloneable<A2ATask>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class A2ATask.
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.
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
A2ATask()
public A2ATask()A2ATask(A2ATask)
public A2ATask(A2ATask other)| Parameter | |
|---|---|
| Name | Description |
other |
A2ATask |
Properties
Artifacts
public RepeatedField<A2AArtifact> Artifacts { get; }Optional. A set of output artifacts for a Task.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldA2AArtifact |
|
ContextId
public string ContextId { get; set; }Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.
| Property Value | |
|---|---|
| Type | Description |
string |
|
History
public RepeatedField<A2AMessage> History { get; }Optional. The history of interactions from a task.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldA2AMessage |
|
Id
public string Id { get; set; }Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Metadata
public Struct Metadata { get; set; }Optional. A key/value object to store custom metadata about a task.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
Status
public TaskStatus Status { get; set; }Optional. The current status of a Task, including state and a message.
| Property Value | |
|---|---|
| Type | Description |
TaskStatus |
|