Class: Google::Cloud::Dialogflow::V2::Message

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

Represents a message posted into a conversation.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns Required. The message content.

Returns:

  • (::String)

    Required. The message content.



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the message was created.

Returns:



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

Returns 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".



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#message_annotation::Google::Cloud::Dialogflow::V2::MessageAnnotation (readonly)

Returns Output only. The annotation for the message.

Returns:



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

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



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#participant::String (readonly)

Returns Output only. The participant that sends this message.

Returns:

  • (::String)

    Output only. The participant that sends this message.



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#participant_role::Google::Cloud::Dialogflow::V2::Participant::Role (readonly)

Returns Output only. The role of the participant.

Returns:



86
87
88
89
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 86

class Message
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end