Class: Google::Cloud::Dialogflow::V2::Conversation
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Conversation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/conversation.rb
Overview
Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.
Defined Under Namespace
Modules: ConversationStage, LifecycleState
Instance Attribute Summary collapse
-
#conversation_profile ⇒ ::String
Required.
-
#conversation_stage ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage
The stage of a conversation.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#lifecycle_state ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::LifecycleState
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#phone_number ⇒ ::Google::Cloud::Dialogflow::V2::ConversationPhoneNumber
readonly
Output only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#conversation_profile ⇒ ::String
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#conversation_stage ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#lifecycle_state ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::LifecycleState (readonly)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#name ⇒ ::String (readonly)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#phone_number ⇒ ::Google::Cloud::Dialogflow::V2::ConversationPhoneNumber (readonly)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 70 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of the completion status of the conversation. module LifecycleState # Unknown. LIFECYCLE_STATE_UNSPECIFIED = 0 # Conversation is currently open for media analysis. IN_PROGRESS = 1 # Conversation has been completed. COMPLETED = 2 end # Enumeration of the different conversation stages a conversation can be in. # Reference: # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages module ConversationStage # Unknown. Should never be used after a conversation is successfully # created. CONVERSATION_STAGE_UNSPECIFIED = 0 # The conversation should return virtual agent responses into the # conversation. VIRTUAL_AGENT_STAGE = 1 # The conversation should not provide responses, just listen and provide # suggestions. HUMAN_ASSIST_STAGE = 2 end end |