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, 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.
-
#name ⇒ ::String
Immutable.
-
#obfuscated_user_id ⇒ ::String
Obfuscated user ID which the customer sent to us.
-
#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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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}.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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}.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 95 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 # 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 |