Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage.
A multi-part text message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parts
def parts() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The parts of the message.
#parts=
def parts=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The parts of the message.
Returns
- (::Array<::String>) — Optional. The parts of the message.
#text_type
def text_type() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType) — Optional. The type of the text message.
#text_type=
def text_type=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType
Parameter
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType) — Optional. The type of the text message.
Returns
- (::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType) — Optional. The type of the text message.