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.



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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 in Contact Center AI.

Returns:



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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:



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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

#name::String

Returns Optional. The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Returns:

  • (::String)

    Optional. The unique identifier of the message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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.



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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:



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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

#send_time::Google::Protobuf::Timestamp

Returns Optional. The time when the message was sent.

Returns:



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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

#sentiment_analysis::Google::Cloud::Dialogflow::V2::SentimentAnalysisResult (readonly)

Returns Output only. The sentiment analysis result for the message.

Returns:



155
156
157
158
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 155

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