Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::MessageEntry (v1.1.1)

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

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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

#role=

def role=(value) -> ::Google::Cloud::Dialogflow::V2::MessageEntry::Role
Parameter
Returns

#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.