Gemini Enterprise for Customer Experience v1 API - Class Message (1.0.0-beta01)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class Message.

A message within a conversation.

Inheritance

object > Message

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

Message()

public Message()

Message(Message)

public Message(Message other)
Parameter
Name Description
other Message

Properties

Chunks

public RepeatedField<Chunk> Chunks { get; }

Optional. Content of the message as a series of chunks.

Property Value
Type Description
RepeatedFieldChunk

EventTime

public Timestamp EventTime { get; set; }

Optional. Timestamp when the message was sent or received. Should not be used if the message is part of an [example][google.cloud.ces.v1.Example].

Property Value
Type Description
Timestamp

Role

public string Role { get; set; }

Optional. The role within the conversation, e.g., user, agent.

Property Value
Type Description
string