Gemini Enterprise for Customer Experience v1beta API - Class AssistantMessage (1.0.0-beta10)

public sealed class AssistantMessage : IMessage<AssistantMessage>, IEquatable<AssistantMessage>, IDeepCloneable<AssistantMessage>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantMessage.

A message in an assistant session.

Inheritance

object > AssistantMessage

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

AssistantMessage()

public AssistantMessage()

AssistantMessage(AssistantMessage)

public AssistantMessage(AssistantMessage other)
Parameter
Name Description
other AssistantMessage

Properties

AttachedGcsUris

public RepeatedField<string> AttachedGcsUris { get; }

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"

Property Value
Type Description
RepeatedFieldstring

Chunks

public RepeatedField<AssistantChunk> Chunks { get; }

Optional. Content of the message as chunks.

Property Value
Type Description
RepeatedFieldAssistantChunk

EventTime

public Timestamp EventTime { get; set; }

Required. Timestamp when the message was sent or received.

Property Value
Type Description
Timestamp

Role

public string Role { get; set; }

Required. Role within the conversation "user" or "model".

Property Value
Type Description
string