Class: Google::Cloud::Dialogflow::V2::Message
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Message
- 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
-
#content ⇒ ::String
Required.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#language_code ⇒ ::String
Optional.
-
#message_annotation ⇒ ::Google::Cloud::Dialogflow::V2::MessageAnnotation
readonly
Output only.
-
#name ⇒ ::String
Optional.
-
#participant ⇒ ::String
readonly
Output only.
-
#participant_role ⇒ ::Google::Cloud::Dialogflow::V2::Participant::Role
readonly
Output only.
-
#send_time ⇒ ::Google::Protobuf::Timestamp
Optional.
-
#sentiment_analysis ⇒ ::Google::Cloud::Dialogflow::V2::SentimentAnalysisResult
readonly
Output only.
Instance Attribute Details
#content ⇒ ::String
Returns 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.
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".
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.
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>
.
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.
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.
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.
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.
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 |