Represents a message posted into a conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String Returns 
 - (::String) — Required. The message content.
#content=
def content=(value) -> ::String Parameter 
 - value (::String) — Required. The message content.
 Returns 
 - (::String) — Required. The message content.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp Returns 
 - (::Google::Protobuf::Timestamp) — Output only. The time when the message was created.
#language_code
def language_code() -> ::String Returns 
 - (::String) — Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
#language_code=
def language_code=(value) -> ::String Parameter 
 - value (::String) — Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
 Returns 
 - (::String) — Optional. The message language. This should be a BCP-47 language tag. Example: "en-US".
#message_annotation
def message_annotation() -> ::Google::Cloud::Dialogflow::V2::MessageAnnotation Returns 
 - (::Google::Cloud::Dialogflow::V2::MessageAnnotation) — Output only. The annotation for the message.
#name
def name() -> ::String Returns 
 -  (::String) — The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.
#name=
def name=(value) -> ::String Parameter 
 -  value (::String) — The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.
 Returns 
 -  (::String) — The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.
#participant
def participant() -> ::String Returns 
 - (::String) — Output only. The participant that sends this message.
#participant_role
def participant_role() -> ::Google::Cloud::Dialogflow::V2::Participant::Role Returns 
 - (::Google::Cloud::Dialogflow::V2::Participant::Role) — Output only. The role of the participant.