Class: Google::Cloud::ContactCenterInsights::V1::Conversation
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::Conversation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
Overview
The conversation resource.
Defined Under Namespace
Modules: Medium Classes: CallMetadata, DialogflowIntentsEntry, LabelsEntry, QualityMetadata, Transcript
Instance Attribute Summary collapse
-
#agent_id ⇒ ::String
An opaque, user-specified string representing the human agent who handled the conversation.
-
#call_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::CallMetadata
Call-specific metadata.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#data_source ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationDataSource
The source of the audio and transcription for the conversation.
-
#dialogflow_intents ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent}
readonly
Output only.
-
#duration ⇒ ::Google::Protobuf::Duration
readonly
Output only.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
The time at which this conversation should expire.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
A map for the user to specify any custom fields.
-
#language_code ⇒ ::String
A user-specified language code for the conversation.
-
#latest_analysis ⇒ ::Google::Cloud::ContactCenterInsights::V1::Analysis
readonly
Output only.
-
#latest_summary ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationSummarizationSuggestionData
readonly
Output only.
-
#medium ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium
Immutable.
-
#metadata_json ⇒ ::String
Input only.
-
#name ⇒ ::String
Immutable.
-
#obfuscated_user_id ⇒ ::String
Obfuscated user ID which the customer sent to us.
-
#quality_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata
Conversation metadata related to quality management.
-
#runtime_annotations ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation>
readonly
Output only.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
The time at which the conversation started.
-
#transcript ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript
readonly
Output only.
-
#ttl ⇒ ::Google::Protobuf::Duration
Input only.
-
#turn_count ⇒ ::Integer
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#agent_id ⇒ ::String
Returns An opaque, user-specified string representing the human agent who handled the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#call_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::CallMetadata
Returns Call-specific metadata.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time at which the conversation was created.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#data_source ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationDataSource
Returns The source of the audio and transcription for the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#dialogflow_intents ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent} (readonly)
Returns Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent}.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#duration ⇒ ::Google::Protobuf::Duration (readonly)
Returns Output only. The duration of the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#expire_time ⇒ ::Google::Protobuf::Timestamp
Returns The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns A map for the user to specify any custom fields. A maximum of 20 labels per conversation is allowed, with a maximum of 256 characters per entry.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#language_code ⇒ ::String
Returns A user-specified language code for the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#latest_analysis ⇒ ::Google::Cloud::ContactCenterInsights::V1::Analysis (readonly)
Returns Output only. The conversation's latest analysis, if one exists.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#latest_summary ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationSummarizationSuggestionData (readonly)
Returns Output only. Latest summary of the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#medium ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium
Returns Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#metadata_json ⇒ ::String
Returns Input only. JSON Metadata encoded as a string. This field is primarily used by Insights integrations with various telphony systems and must be in one of Insights' supported formats.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#name ⇒ ::String
Returns Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation}.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#obfuscated_user_id ⇒ ::String
Returns Obfuscated user ID which the customer sent to us.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#quality_metadata ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata
Returns Conversation metadata related to quality management.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#runtime_annotations ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation> (readonly)
Returns Output only. The annotations that were generated during the customer and agent interaction.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp
Returns The time at which the conversation started.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#transcript ⇒ ::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript (readonly)
Returns Output only. The conversation transcript.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#ttl ⇒ ::Google::Protobuf::Duration
Returns Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#turn_count ⇒ ::Integer (readonly)
Returns Output only. The number of turns in the conversation.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The most recent time at which the conversation was updated.
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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 103 class Conversation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Call-specific metadata. # @!attribute [rw] customer_channel # @return [::Integer] # The audio channel that contains the customer. # @!attribute [rw] agent_channel # @return [::Integer] # The audio channel that contains the agent. class CallMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Conversation metadata related to quality management. # @!attribute [rw] customer_satisfaction_rating # @return [::Integer] # An arbitrary integer value indicating the customer's satisfaction rating. # @!attribute [rw] wait_duration # @return [::Google::Protobuf::Duration] # The amount of time the customer waited to connect with an agent. # @!attribute [rw] menu_path # @return [::String] # An arbitrary string value specifying the menu path the customer took. # @!attribute [rw] agent_info # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata::AgentInfo>] # Information about agents involved in the call. class QualityMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Information about an agent involved in the conversation. # @!attribute [rw] agent_id # @return [::String] # A user-specified string representing the agent. # @!attribute [rw] display_name # @return [::String] # The agent's name. # @!attribute [rw] team # @return [::String] # A user-specified string representing the agent's team. # @!attribute [rw] disposition_code # @return [::String] # A user-provided string indicating the outcome of the agent's segment of # the call. class AgentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # A message representing the transcript of a conversation. # @!attribute [rw] transcript_segments # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>] # A list of sequential transcript segments that comprise the conversation. class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # segment. A default value of 0.0 indicates that the value is unset. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # For conversations derived from multi-channel audio, this is the channel # number corresponding to the audio from that channel. For # audioChannelCount = N, its output values can range from '1' to 'N'. A # channel tag of 0 indicates that the audio is mono. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent] class DialogflowIntentsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Possible media for the conversation. module Medium # Default value, if unspecified will default to PHONE_CALL. MEDIUM_UNSPECIFIED = 0 # The format for conversations that took place over the phone. PHONE_CALL = 1 # The format for conversations that took place over chat. CHAT = 2 end end |