Class AssistantMessage
A message in an assistant session.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class AssistantMessage : IDirectResponseSchema
Properties
AttachedGcsUris
Optional. Cloud Storage URIs for files uploaded by the user during this turn. This allows attachments to be persisted and rendered in the session history UI. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
Declaration
[JsonProperty("attachedGcsUris")]
public virtual IList<string> AttachedGcsUris { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Chunks
Optional. Content of the message as chunks.
Declaration
[JsonProperty("chunks")]
public virtual IList<AssistantChunk> Chunks { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AssistantChunk> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventTime
object representation of EventTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
EventTimeDateTimeOffset
DateTimeOffset representation of EventTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
EventTimeRaw
Required. Timestamp when the message was sent or received.
Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Role
Required. Role within the conversation "user" or "model".
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |