Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::MessageEntry.
Represents a message entry of a conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Create time of the message entry.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Create time of the message entry.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Create time of the message entry.
#language_code
def language_code() -> ::String
Returns
- (::String) — Optional. The language of the text. See Language Support for a list of the currently supported language codes.
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::String) — Optional. The language of the text. See Language Support for a list of the currently supported language codes.
Returns
- (::String) — Optional. The language of the text. See Language Support for a list of the currently supported language codes.
#role
def role() -> ::Google::Cloud::Dialogflow::V2::MessageEntry::Role
Returns
- (::Google::Cloud::Dialogflow::V2::MessageEntry::Role) — Optional. Participant role of the message.
#role=
def role=(value) -> ::Google::Cloud::Dialogflow::V2::MessageEntry::Role
Parameter
- value (::Google::Cloud::Dialogflow::V2::MessageEntry::Role) — Optional. Participant role of the message.
Returns
- (::Google::Cloud::Dialogflow::V2::MessageEntry::Role) — Optional. Participant role of the message.
#text
def text() -> ::String
Returns
- (::String) — Optional. Transcript content of the message.
#text=
def text=(value) -> ::String
Parameter
- value (::String) — Optional. Transcript content of the message.
Returns
- (::String) — Optional. Transcript content of the message.