public sealed class Message : IMessage<Message>, IEquatable<Message>, IDeepCloneable<Message>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class Message.
A message from an interaction between the user and the system.
Namespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
Message()
public Message()Message(Message)
public Message(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
Properties
KindCase
public Message.KindOneofCase KindCase { get; }| Property Value | |
|---|---|
| Type | Description |
MessageKindOneofCase |
|
MessageId
public string MessageId { get; set; }Optional. unique id of the message in the conversation for persistence.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SystemMessage
public SystemMessage SystemMessage { get; set; }A message from the system in response to the user.
| Property Value | |
|---|---|
| Type | Description |
SystemMessage |
|
Timestamp
public Timestamp Timestamp { get; set; }Output only. For user messages, this is the time at which the system received the message. For system messages, this is the time at which the system generated the message.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
UserMessage
public UserMessage UserMessage { get; set; }A message from the user that is interacting with the system.
| Property Value | |
|---|---|
| Type | Description |
UserMessage |
|