Class LfA2aV1Message
Message is one unit of communication between client and server. It can be associated with a context and/or a
task. For server messages, context_id must be provided, and task_id only if a task was created. For client
messages, both fields are optional, with the caveat that if both are provided, they have to match (the
context_id has to be the one that is set on the task). If only task_id is provided, the server will infer
context_id from it.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class LfA2aV1Message : IDirectResponseSchema
Properties
ContextId
Optional. The context id of the message. If set, the message will be associated with the given context.
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 |
Extensions
The URIs of extensions that are present or contributed to this Message.
Declaration
[JsonProperty("extensions")]
public virtual IList<string> Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
MessageId
Required. The unique identifier (e.g. UUID) of the message. This is created by the message creator.
Declaration
[JsonProperty("messageId")]
public virtual string MessageId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Optional. Any metadata to provide along with the message.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Parts
Required. Parts is the container of the message content.
Declaration
[JsonProperty("parts")]
public virtual IList<LfA2aV1Part> Parts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<LfA2aV1Part> |
ReferenceTaskIds
A list of task IDs that this message references for additional context.
Declaration
[JsonProperty("referenceTaskIds")]
public virtual IList<string> ReferenceTaskIds { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Role
Required. Identifies the sender of the message.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TaskId
Optional. The task id of the message. If set, the message will be associated with the given task.
Declaration
[JsonProperty("taskId")]
public virtual string TaskId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |