Class LfA2aV1Task
Task 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.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class LfA2aV1Task : IDirectResponseSchema
Properties
Artifacts
A set of output artifacts for a Task.
Declaration
[JsonProperty("artifacts")]
public virtual IList<LfA2aV1Artifact> Artifacts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<LfA2aV1Artifact> |
ContextId
Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages).
Declaration
[JsonProperty("contextId")]
public virtual string ContextId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
History
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a Task.
Declaration
[JsonProperty("history")]
public virtual IList<LfA2aV1Message> History { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<LfA2aV1Message> |
Id
Required. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Status
Required. The current status of a Task, including state and a message.
Declaration
[JsonProperty("status")]
public virtual LfA2aV1TaskStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| LfA2aV1TaskStatus |