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 Classes: TelephonyConnectionInfo
Instance Attribute Summary collapse
-
#conversation_profile ⇒ ::String
Required.
-
#conversation_stage ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::ConversationStage
Optional.
-
#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.
-
#telephony_connection_info ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo
readonly
Output only.
Instance Attribute Details
#conversation_profile ⇒ ::String
Returns Required. The Conversation Profile to be used to configure this
Conversation. This field cannot be updated.
Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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
Returns Optional. The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation.
If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE.
If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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)
Returns Output only. The time the conversation was finished.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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)
Returns Output only. The current state of the Conversation.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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)
Returns Output only. Identifier. The unique identifier of this conversation.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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)
Returns Output only. It will not be empty if the conversation is to be connected over telephony.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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)
Returns Output only. The time the conversation was started.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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 |
#telephony_connection_info ⇒ ::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo (readonly)
Returns Output only. The telephony connection information.
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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation.rb', line 73 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The information about phone calls connected via phone gateway to the # conversation. # @!attribute [r] dialed_number # @return [::String] # Output only. The number dialed to connect this call in E.164 format. # @!attribute [rw] sdp # @return [::String] # Optional. SDP of the call. It's initially the SDP answer to the endpoint, # but maybe later updated for the purpose of making the link active, etc. # @!attribute [r] sip_headers # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::SipHeader>] # Output only. The SIP headers from the initial SIP INVITE. # @!attribute [r] extra_mime_contents # @return [::Array<::Google::Cloud::Dialogflow::V2::Conversation::TelephonyConnectionInfo::MimeContent>] # Output only. The mime content from the initial SIP INVITE. class TelephonyConnectionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The SIP headers from the initial SIP INVITE. # @!attribute [rw] name # @return [::String] # Optional. The name of the header. # @!attribute [rw] value # @return [::String] # Optional. The value of the header. class SipHeader include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The mime content from the initial SIP INVITE. # @!attribute [rw] mime_type # @return [::String] # Optional. The mime type of the content. # @!attribute [rw] content # @return [::String] # Optional. The content payload. class MimeContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # 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/agent-assist/docs/basics#conversation_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 |