Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::Message.
A message from an interaction between the user and the system.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#message_id
def message_id() -> ::String
- (::String) — Optional. unique id of the message in the conversation for persistence.
#message_id=
def message_id=(value) -> ::String
- value (::String) — Optional. unique id of the message in the conversation for persistence.
- (::String) — Optional. unique id of the message in the conversation for persistence.
#system_message
def system_message() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage) — A message from the system in response to the user.
Note: The following fields are mutually exclusive:
system_message
,user_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#system_message=
def system_message=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage) — A message from the system in response to the user.
Note: The following fields are mutually exclusive:
system_message
,user_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::SystemMessage) — A message from the system in response to the user.
Note: The following fields are mutually exclusive:
system_message
,user_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#timestamp
def timestamp() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — 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.
#user_message
def user_message() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::UserMessage
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::UserMessage) — A message from the user that is interacting with the system.
Note: The following fields are mutually exclusive:
user_message
,system_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user_message=
def user_message=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::UserMessage
-
value (::Google::Cloud::GeminiDataAnalytics::V1beta::UserMessage) — A message from the user that is interacting with the system.
Note: The following fields are mutually exclusive:
user_message
,system_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::GeminiDataAnalytics::V1beta::UserMessage) — A message from the user that is interacting with the system.
Note: The following fields are mutually exclusive:
user_message
,system_message
. If a field in that set is populated, all other fields in the set will automatically be cleared.