public sealed class UserMessage : IMessage<UserMessage>, IEquatable<UserMessage>, IDeepCloneable<UserMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class UserMessage.
A message from the user that is interacting with the system.
Implements
IMessageUserMessage, IEquatableUserMessage, IDeepCloneableUserMessage, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
UserMessage()
public UserMessage()
UserMessage(UserMessage)
public UserMessage(UserMessage other)
Parameter | |
---|---|
Name | Description |
other |
UserMessage |
Properties
HasText
public bool HasText { get; }
Gets whether the "text" field is set
Property Value | |
---|---|
Type | Description |
bool |
KindCase
public UserMessage.KindOneofCase KindCase { get; }
Property Value | |
---|---|
Type | Description |
UserMessageKindOneofCase |
Text
public string Text { get; set; }
Text should use this field instead of blob.
Property Value | |
---|---|
Type | Description |
string |