yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="contactcenterinsights_v1.html">Contact Center AI Insights API</a> . <a href="contactcenterinsights_v1.projects.html">projects</a> . <a href="contactcenterinsights_v1.projects.locations.html">locations</a> . <a href="contactcenterinsights_v1.projects.locations.conversations.html">conversations</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="contactcenterinsights_v1.projects.locations.conversations.analyses.html">analyses()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the analyses Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
| 83 | <code><a href="#calculateStats">calculateStats(location, filter=None, x__xgafv=None)</a></code></p> |
| 84 | <p class="firstline">Gets conversation statistics.</p> |
| 85 | <p class="toc_element"> |
| 86 | <code><a href="#close">close()</a></code></p> |
| 87 | <p class="firstline">Close httplib2 connections.</p> |
| 88 | <p class="toc_element"> |
| 89 | <code><a href="#create">create(parent, body=None, conversationId=None, x__xgafv=None)</a></code></p> |
| 90 | <p class="firstline">Creates a conversation.</p> |
| 91 | <p class="toc_element"> |
| 92 | <code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p> |
| 93 | <p class="firstline">Deletes a conversation.</p> |
| 94 | <p class="toc_element"> |
| 95 | <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p> |
| 96 | <p class="firstline">Gets a conversation.</p> |
| 97 | <p class="toc_element"> |
| 98 | <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p> |
| 99 | <p class="firstline">Lists conversations.</p> |
| 100 | <p class="toc_element"> |
| 101 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 102 | <p class="firstline">Retrieves the next page of results.</p> |
| 103 | <p class="toc_element"> |
| 104 | <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> |
| 105 | <p class="firstline">Updates a conversation.</p> |
| 106 | <h3>Method Details</h3> |
| 107 | <div class="method"> |
| 108 | <code class="details" id="calculateStats">calculateStats(location, filter=None, x__xgafv=None)</code> |
| 109 | <pre>Gets conversation statistics. |
| 110 | |
| 111 | Args: |
| 112 | location: string, Required. The location of the conversations. (required) |
| 113 | filter: string, A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties. |
| 114 | x__xgafv: string, V1 error format. |
| 115 | Allowed values |
| 116 | 1 - v1 error format |
| 117 | 2 - v2 error format |
| 118 | |
| 119 | Returns: |
| 120 | An object of the form: |
| 121 | |
| 122 | { # The response for calculating conversation statistics. |
| 123 | "averageDuration": "A String", # The average duration of all conversations. The average is calculated using only conversations that have a time duration. |
| 124 | "averageTurnCount": 42, # The average number of turns per conversation. |
| 125 | "conversationCount": 42, # The total number of conversations. |
| 126 | "conversationCountTimeSeries": { # A time series representing conversations over time. # A time series representing the count of conversations created over time that match that requested filter criteria. |
| 127 | "intervalDuration": "A String", # The duration of each interval. |
| 128 | "points": [ # An ordered list of intervals from earliest to latest, where each interval represents the number of conversations that transpired during the time window. |
| 129 | { # A single interval in a time series. |
| 130 | "conversationCount": 42, # The number of conversations created in this interval. |
| 131 | "startTime": "A String", # The start time of this interval. |
| 132 | }, |
| 133 | ], |
| 134 | }, |
| 135 | "customHighlighterMatches": { # A map associating each custom highlighter resource name with its respective number of matches in the set of conversations. |
| 136 | "a_key": 42, |
| 137 | }, |
| 138 | "issueMatches": { # A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: `projects//locations//issueModels//issues/` |
| 139 | "a_key": 42, |
| 140 | }, |
| 141 | "smartHighlighterMatches": { # A map associating each smart highlighter display name with its respective number of matches in the set of conversations. |
| 142 | "a_key": 42, |
| 143 | }, |
| 144 | }</pre> |
| 145 | </div> |
| 146 | |
| 147 | <div class="method"> |
| 148 | <code class="details" id="close">close()</code> |
| 149 | <pre>Close httplib2 connections.</pre> |
| 150 | </div> |
| 151 | |
| 152 | <div class="method"> |
| 153 | <code class="details" id="create">create(parent, body=None, conversationId=None, x__xgafv=None)</code> |
| 154 | <pre>Creates a conversation. |
| 155 | |
| 156 | Args: |
| 157 | parent: string, Required. The parent resource of the conversation. (required) |
| 158 | body: object, The request body. |
| 159 | The object takes the form of: |
| 160 | |
| 161 | { # The conversation resource. |
| 162 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 163 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 164 | "agentChannel": 42, # The audio channel that contains the agent. |
| 165 | "customerChannel": 42, # The audio channel that contains the customer. |
| 166 | }, |
| 167 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 168 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 169 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 170 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 171 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 172 | }, |
| 173 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 174 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 175 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 176 | }, |
| 177 | }, |
| 178 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 179 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 180 | "displayName": "A String", # The human-readable name of the intent. |
| 181 | }, |
| 182 | }, |
| 183 | "duration": "A String", # Output only. The duration of the conversation. |
| 184 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 185 | "labels": { # 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. |
| 186 | "a_key": "A String", |
| 187 | }, |
| 188 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 189 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 190 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 191 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 192 | "annotations": [ # A list of call annotations that apply to this call. |
| 193 | { # A piece of metadata that applies to a window of a call. |
| 194 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 195 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 196 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 197 | }, |
| 198 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 199 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 200 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 201 | }, |
| 202 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 203 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 204 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 205 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 206 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 207 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 208 | }, |
| 209 | "type": "A String", # The type of the entity mention. |
| 210 | }, |
| 211 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 212 | }, |
| 213 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 214 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 215 | }, |
| 216 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 217 | }, |
| 218 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 219 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 220 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 221 | }, |
| 222 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 223 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 224 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 225 | }, |
| 226 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 227 | }, |
| 228 | }, |
| 229 | ], |
| 230 | "entities": { # All the entities in the call. |
| 231 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 232 | "displayName": "A String", # The representative name for the entity. |
| 233 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 234 | "a_key": "A String", |
| 235 | }, |
| 236 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 237 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 238 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 239 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 240 | }, |
| 241 | "type": "A String", # The entity type. |
| 242 | }, |
| 243 | }, |
| 244 | "intents": { # All the matched intents in the call. |
| 245 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 246 | "displayName": "A String", # The human-readable name of the intent. |
| 247 | "id": "A String", # The unique identifier of the intent. |
| 248 | }, |
| 249 | }, |
| 250 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 251 | "issueModel": "A String", # Issue model that generates the result. |
| 252 | "issues": [ # All the matched issues. |
| 253 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 254 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 255 | "issue": "A String", # Resource name of the assigned issue. |
| 256 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 257 | }, |
| 258 | ], |
| 259 | }, |
| 260 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 261 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 262 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 263 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 264 | }, |
| 265 | }, |
| 266 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 267 | { # One channel of conversation-level sentiment data. |
| 268 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 269 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 270 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 271 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 272 | }, |
| 273 | }, |
| 274 | ], |
| 275 | }, |
| 276 | "endTime": "A String", # The time at which the analysis ended. |
| 277 | }, |
| 278 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 279 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 280 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 281 | }, |
| 282 | "medium": "A String", # Immutable. The conversation medium. |
| 283 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 284 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 285 | { # An annotation that was generated during the customer and agent interaction. |
| 286 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 287 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 288 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 289 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 290 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 291 | }, |
| 292 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 293 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 294 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 295 | "a_key": "A String", |
| 296 | }, |
| 297 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 298 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 299 | "title": "A String", # Article title. |
| 300 | "uri": "A String", # Article URI. |
| 301 | }, |
| 302 | "createTime": "A String", # The time at which this annotation was created. |
| 303 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 304 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 305 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 306 | }, |
| 307 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 308 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 309 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 310 | }, |
| 311 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 312 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 313 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 314 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 315 | "a_key": "A String", |
| 316 | }, |
| 317 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 318 | "question": "A String", # The corresponding FAQ question. |
| 319 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 320 | }, |
| 321 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 322 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 323 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 324 | "a_key": "A String", |
| 325 | }, |
| 326 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 327 | "suggestion": "A String", # The content of the suggestion. |
| 328 | }, |
| 329 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 330 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 331 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 332 | "a_key": "A String", |
| 333 | }, |
| 334 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 335 | "reply": "A String", # The content of the reply. |
| 336 | }, |
| 337 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 338 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 339 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 340 | }, |
| 341 | }, |
| 342 | ], |
| 343 | "startTime": "A String", # The time at which the conversation started. |
| 344 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 345 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 346 | { # A segment of a full transcript. |
| 347 | "channelTag": 42, # 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. |
| 348 | "confidence": 3.14, # 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. |
| 349 | "languageCode": "A 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". |
| 350 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 351 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 352 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 353 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 354 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 355 | }, |
| 356 | "text": "A String", # The text of this segment. |
| 357 | "words": [ # A list of the word-specific information for each word in the segment. |
| 358 | { # Word-level info for words in a transcript. |
| 359 | "confidence": 3.14, # 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. |
| 360 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 361 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 362 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 363 | }, |
| 364 | ], |
| 365 | }, |
| 366 | ], |
| 367 | }, |
| 368 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 369 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 370 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 371 | } |
| 372 | |
| 373 | conversationId: string, A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-32 characters and must match the regular expression /^[a-z0-9-]{4,32}$/. Valid characters are /a-z-/ |
| 374 | x__xgafv: string, V1 error format. |
| 375 | Allowed values |
| 376 | 1 - v1 error format |
| 377 | 2 - v2 error format |
| 378 | |
| 379 | Returns: |
| 380 | An object of the form: |
| 381 | |
| 382 | { # The conversation resource. |
| 383 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 384 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 385 | "agentChannel": 42, # The audio channel that contains the agent. |
| 386 | "customerChannel": 42, # The audio channel that contains the customer. |
| 387 | }, |
| 388 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 389 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 390 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 391 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 392 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 393 | }, |
| 394 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 395 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 396 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 397 | }, |
| 398 | }, |
| 399 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 400 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 401 | "displayName": "A String", # The human-readable name of the intent. |
| 402 | }, |
| 403 | }, |
| 404 | "duration": "A String", # Output only. The duration of the conversation. |
| 405 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 406 | "labels": { # 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. |
| 407 | "a_key": "A String", |
| 408 | }, |
| 409 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 410 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 411 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 412 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 413 | "annotations": [ # A list of call annotations that apply to this call. |
| 414 | { # A piece of metadata that applies to a window of a call. |
| 415 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 416 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 417 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 418 | }, |
| 419 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 420 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 421 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 422 | }, |
| 423 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 424 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 425 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 426 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 427 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 428 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 429 | }, |
| 430 | "type": "A String", # The type of the entity mention. |
| 431 | }, |
| 432 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 433 | }, |
| 434 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 435 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 436 | }, |
| 437 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 438 | }, |
| 439 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 440 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 441 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 442 | }, |
| 443 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 444 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 445 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 446 | }, |
| 447 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 448 | }, |
| 449 | }, |
| 450 | ], |
| 451 | "entities": { # All the entities in the call. |
| 452 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 453 | "displayName": "A String", # The representative name for the entity. |
| 454 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 455 | "a_key": "A String", |
| 456 | }, |
| 457 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 458 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 459 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 460 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 461 | }, |
| 462 | "type": "A String", # The entity type. |
| 463 | }, |
| 464 | }, |
| 465 | "intents": { # All the matched intents in the call. |
| 466 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 467 | "displayName": "A String", # The human-readable name of the intent. |
| 468 | "id": "A String", # The unique identifier of the intent. |
| 469 | }, |
| 470 | }, |
| 471 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 472 | "issueModel": "A String", # Issue model that generates the result. |
| 473 | "issues": [ # All the matched issues. |
| 474 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 475 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 476 | "issue": "A String", # Resource name of the assigned issue. |
| 477 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 478 | }, |
| 479 | ], |
| 480 | }, |
| 481 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 482 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 483 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 484 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 485 | }, |
| 486 | }, |
| 487 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 488 | { # One channel of conversation-level sentiment data. |
| 489 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 490 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 491 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 492 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 493 | }, |
| 494 | }, |
| 495 | ], |
| 496 | }, |
| 497 | "endTime": "A String", # The time at which the analysis ended. |
| 498 | }, |
| 499 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 500 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 501 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 502 | }, |
| 503 | "medium": "A String", # Immutable. The conversation medium. |
| 504 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 505 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 506 | { # An annotation that was generated during the customer and agent interaction. |
| 507 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 508 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 509 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 510 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 511 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 512 | }, |
| 513 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 514 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 515 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 516 | "a_key": "A String", |
| 517 | }, |
| 518 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 519 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 520 | "title": "A String", # Article title. |
| 521 | "uri": "A String", # Article URI. |
| 522 | }, |
| 523 | "createTime": "A String", # The time at which this annotation was created. |
| 524 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 525 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 526 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 527 | }, |
| 528 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 529 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 530 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 531 | }, |
| 532 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 533 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 534 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 535 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 536 | "a_key": "A String", |
| 537 | }, |
| 538 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 539 | "question": "A String", # The corresponding FAQ question. |
| 540 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 541 | }, |
| 542 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 543 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 544 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 545 | "a_key": "A String", |
| 546 | }, |
| 547 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 548 | "suggestion": "A String", # The content of the suggestion. |
| 549 | }, |
| 550 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 551 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 552 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 553 | "a_key": "A String", |
| 554 | }, |
| 555 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 556 | "reply": "A String", # The content of the reply. |
| 557 | }, |
| 558 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 559 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 560 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 561 | }, |
| 562 | }, |
| 563 | ], |
| 564 | "startTime": "A String", # The time at which the conversation started. |
| 565 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 566 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 567 | { # A segment of a full transcript. |
| 568 | "channelTag": 42, # 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. |
| 569 | "confidence": 3.14, # 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. |
| 570 | "languageCode": "A 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". |
| 571 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 572 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 573 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 574 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 575 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 576 | }, |
| 577 | "text": "A String", # The text of this segment. |
| 578 | "words": [ # A list of the word-specific information for each word in the segment. |
| 579 | { # Word-level info for words in a transcript. |
| 580 | "confidence": 3.14, # 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. |
| 581 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 582 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 583 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 584 | }, |
| 585 | ], |
| 586 | }, |
| 587 | ], |
| 588 | }, |
| 589 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 590 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 591 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 592 | }</pre> |
| 593 | </div> |
| 594 | |
| 595 | <div class="method"> |
| 596 | <code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code> |
| 597 | <pre>Deletes a conversation. |
| 598 | |
| 599 | Args: |
| 600 | name: string, Required. The name of the conversation to delete. (required) |
| 601 | force: boolean, If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses. |
| 602 | x__xgafv: string, V1 error format. |
| 603 | Allowed values |
| 604 | 1 - v1 error format |
| 605 | 2 - v2 error format |
| 606 | |
| 607 | Returns: |
| 608 | An object of the form: |
| 609 | |
| 610 | { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. |
| 611 | }</pre> |
| 612 | </div> |
| 613 | |
| 614 | <div class="method"> |
| 615 | <code class="details" id="get">get(name, view=None, x__xgafv=None)</code> |
| 616 | <pre>Gets a conversation. |
| 617 | |
| 618 | Args: |
| 619 | name: string, Required. The name of the conversation to get. (required) |
| 620 | view: string, The level of details of the conversation. Default is `FULL`. |
| 621 | Allowed values |
| 622 | CONVERSATION_VIEW_UNSPECIFIED - Not specified. Defaults to FULL on GetConversationRequest and BASIC for ListConversationsRequest. |
| 623 | BASIC - Transcript field is not populated in the response. |
| 624 | FULL - All fields are populated. |
| 625 | x__xgafv: string, V1 error format. |
| 626 | Allowed values |
| 627 | 1 - v1 error format |
| 628 | 2 - v2 error format |
| 629 | |
| 630 | Returns: |
| 631 | An object of the form: |
| 632 | |
| 633 | { # The conversation resource. |
| 634 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 635 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 636 | "agentChannel": 42, # The audio channel that contains the agent. |
| 637 | "customerChannel": 42, # The audio channel that contains the customer. |
| 638 | }, |
| 639 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 640 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 641 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 642 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 643 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 644 | }, |
| 645 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 646 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 647 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 648 | }, |
| 649 | }, |
| 650 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 651 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 652 | "displayName": "A String", # The human-readable name of the intent. |
| 653 | }, |
| 654 | }, |
| 655 | "duration": "A String", # Output only. The duration of the conversation. |
| 656 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 657 | "labels": { # 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. |
| 658 | "a_key": "A String", |
| 659 | }, |
| 660 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 661 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 662 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 663 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 664 | "annotations": [ # A list of call annotations that apply to this call. |
| 665 | { # A piece of metadata that applies to a window of a call. |
| 666 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 667 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 668 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 669 | }, |
| 670 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 671 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 672 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 673 | }, |
| 674 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 675 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 676 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 677 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 678 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 679 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 680 | }, |
| 681 | "type": "A String", # The type of the entity mention. |
| 682 | }, |
| 683 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 684 | }, |
| 685 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 686 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 687 | }, |
| 688 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 689 | }, |
| 690 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 691 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 692 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 693 | }, |
| 694 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 695 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 696 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 697 | }, |
| 698 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 699 | }, |
| 700 | }, |
| 701 | ], |
| 702 | "entities": { # All the entities in the call. |
| 703 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 704 | "displayName": "A String", # The representative name for the entity. |
| 705 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 706 | "a_key": "A String", |
| 707 | }, |
| 708 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 709 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 710 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 711 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 712 | }, |
| 713 | "type": "A String", # The entity type. |
| 714 | }, |
| 715 | }, |
| 716 | "intents": { # All the matched intents in the call. |
| 717 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 718 | "displayName": "A String", # The human-readable name of the intent. |
| 719 | "id": "A String", # The unique identifier of the intent. |
| 720 | }, |
| 721 | }, |
| 722 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 723 | "issueModel": "A String", # Issue model that generates the result. |
| 724 | "issues": [ # All the matched issues. |
| 725 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 726 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 727 | "issue": "A String", # Resource name of the assigned issue. |
| 728 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 729 | }, |
| 730 | ], |
| 731 | }, |
| 732 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 733 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 734 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 735 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 736 | }, |
| 737 | }, |
| 738 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 739 | { # One channel of conversation-level sentiment data. |
| 740 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 741 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 742 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 743 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 744 | }, |
| 745 | }, |
| 746 | ], |
| 747 | }, |
| 748 | "endTime": "A String", # The time at which the analysis ended. |
| 749 | }, |
| 750 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 751 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 752 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 753 | }, |
| 754 | "medium": "A String", # Immutable. The conversation medium. |
| 755 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 756 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 757 | { # An annotation that was generated during the customer and agent interaction. |
| 758 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 759 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 760 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 761 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 762 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 763 | }, |
| 764 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 765 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 766 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 767 | "a_key": "A String", |
| 768 | }, |
| 769 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 770 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 771 | "title": "A String", # Article title. |
| 772 | "uri": "A String", # Article URI. |
| 773 | }, |
| 774 | "createTime": "A String", # The time at which this annotation was created. |
| 775 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 776 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 777 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 778 | }, |
| 779 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 780 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 781 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 782 | }, |
| 783 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 784 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 785 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 786 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 787 | "a_key": "A String", |
| 788 | }, |
| 789 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 790 | "question": "A String", # The corresponding FAQ question. |
| 791 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 792 | }, |
| 793 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 794 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 795 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 796 | "a_key": "A String", |
| 797 | }, |
| 798 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 799 | "suggestion": "A String", # The content of the suggestion. |
| 800 | }, |
| 801 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 802 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 803 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 804 | "a_key": "A String", |
| 805 | }, |
| 806 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 807 | "reply": "A String", # The content of the reply. |
| 808 | }, |
| 809 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 810 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 811 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 812 | }, |
| 813 | }, |
| 814 | ], |
| 815 | "startTime": "A String", # The time at which the conversation started. |
| 816 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 817 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 818 | { # A segment of a full transcript. |
| 819 | "channelTag": 42, # 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. |
| 820 | "confidence": 3.14, # 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. |
| 821 | "languageCode": "A 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". |
| 822 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 823 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 824 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 825 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 826 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 827 | }, |
| 828 | "text": "A String", # The text of this segment. |
| 829 | "words": [ # A list of the word-specific information for each word in the segment. |
| 830 | { # Word-level info for words in a transcript. |
| 831 | "confidence": 3.14, # 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. |
| 832 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 833 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 834 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 835 | }, |
| 836 | ], |
| 837 | }, |
| 838 | ], |
| 839 | }, |
| 840 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 841 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 842 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 843 | }</pre> |
| 844 | </div> |
| 845 | |
| 846 | <div class="method"> |
| 847 | <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code> |
| 848 | <pre>Lists conversations. |
| 849 | |
| 850 | Args: |
| 851 | parent: string, Required. The parent resource of the conversation. (required) |
| 852 | filter: string, A filter to reduce results to a specific subset. Useful for querying conversations with specific properties. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 853 | pageSize: integer, The maximum number of conversations to return in the response. A valid page size ranges from 0 to 1,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 854 | pageToken: string, The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data. |
| 855 | view: string, The level of details of the conversation. Default is `BASIC`. |
| 856 | Allowed values |
| 857 | CONVERSATION_VIEW_UNSPECIFIED - Not specified. Defaults to FULL on GetConversationRequest and BASIC for ListConversationsRequest. |
| 858 | BASIC - Transcript field is not populated in the response. |
| 859 | FULL - All fields are populated. |
| 860 | x__xgafv: string, V1 error format. |
| 861 | Allowed values |
| 862 | 1 - v1 error format |
| 863 | 2 - v2 error format |
| 864 | |
| 865 | Returns: |
| 866 | An object of the form: |
| 867 | |
| 868 | { # The response of listing conversations. |
| 869 | "conversations": [ # The conversations that match the request. |
| 870 | { # The conversation resource. |
| 871 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 872 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 873 | "agentChannel": 42, # The audio channel that contains the agent. |
| 874 | "customerChannel": 42, # The audio channel that contains the customer. |
| 875 | }, |
| 876 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 877 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 878 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 879 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 880 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 881 | }, |
| 882 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 883 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 884 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 885 | }, |
| 886 | }, |
| 887 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 888 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 889 | "displayName": "A String", # The human-readable name of the intent. |
| 890 | }, |
| 891 | }, |
| 892 | "duration": "A String", # Output only. The duration of the conversation. |
| 893 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 894 | "labels": { # 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. |
| 895 | "a_key": "A String", |
| 896 | }, |
| 897 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 898 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 899 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 900 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 901 | "annotations": [ # A list of call annotations that apply to this call. |
| 902 | { # A piece of metadata that applies to a window of a call. |
| 903 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 904 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 905 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 906 | }, |
| 907 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 908 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 909 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 910 | }, |
| 911 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 912 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 913 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 914 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 915 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 916 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 917 | }, |
| 918 | "type": "A String", # The type of the entity mention. |
| 919 | }, |
| 920 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 921 | }, |
| 922 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 923 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 924 | }, |
| 925 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 926 | }, |
| 927 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 928 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 929 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 930 | }, |
| 931 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 932 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 933 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 934 | }, |
| 935 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 936 | }, |
| 937 | }, |
| 938 | ], |
| 939 | "entities": { # All the entities in the call. |
| 940 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 941 | "displayName": "A String", # The representative name for the entity. |
| 942 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 943 | "a_key": "A String", |
| 944 | }, |
| 945 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 946 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 947 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 948 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 949 | }, |
| 950 | "type": "A String", # The entity type. |
| 951 | }, |
| 952 | }, |
| 953 | "intents": { # All the matched intents in the call. |
| 954 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 955 | "displayName": "A String", # The human-readable name of the intent. |
| 956 | "id": "A String", # The unique identifier of the intent. |
| 957 | }, |
| 958 | }, |
| 959 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 960 | "issueModel": "A String", # Issue model that generates the result. |
| 961 | "issues": [ # All the matched issues. |
| 962 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 963 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 964 | "issue": "A String", # Resource name of the assigned issue. |
| 965 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 966 | }, |
| 967 | ], |
| 968 | }, |
| 969 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 970 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 971 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 972 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 973 | }, |
| 974 | }, |
| 975 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 976 | { # One channel of conversation-level sentiment data. |
| 977 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 978 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 979 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 980 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 981 | }, |
| 982 | }, |
| 983 | ], |
| 984 | }, |
| 985 | "endTime": "A String", # The time at which the analysis ended. |
| 986 | }, |
| 987 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 988 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 989 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 990 | }, |
| 991 | "medium": "A String", # Immutable. The conversation medium. |
| 992 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 993 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 994 | { # An annotation that was generated during the customer and agent interaction. |
| 995 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 996 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 997 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 998 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 999 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 1000 | }, |
| 1001 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 1002 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1003 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 1004 | "a_key": "A String", |
| 1005 | }, |
| 1006 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1007 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 1008 | "title": "A String", # Article title. |
| 1009 | "uri": "A String", # Article URI. |
| 1010 | }, |
| 1011 | "createTime": "A String", # The time at which this annotation was created. |
| 1012 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 1013 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1014 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 1015 | }, |
| 1016 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 1017 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1018 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1019 | }, |
| 1020 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 1021 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 1022 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1023 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 1024 | "a_key": "A String", |
| 1025 | }, |
| 1026 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 1027 | "question": "A String", # The corresponding FAQ question. |
| 1028 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 1029 | }, |
| 1030 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 1031 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1032 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 1033 | "a_key": "A String", |
| 1034 | }, |
| 1035 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1036 | "suggestion": "A String", # The content of the suggestion. |
| 1037 | }, |
| 1038 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 1039 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1040 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 1041 | "a_key": "A String", |
| 1042 | }, |
| 1043 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1044 | "reply": "A String", # The content of the reply. |
| 1045 | }, |
| 1046 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 1047 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1048 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1049 | }, |
| 1050 | }, |
| 1051 | ], |
| 1052 | "startTime": "A String", # The time at which the conversation started. |
| 1053 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 1054 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 1055 | { # A segment of a full transcript. |
| 1056 | "channelTag": 42, # 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. |
| 1057 | "confidence": 3.14, # 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. |
| 1058 | "languageCode": "A 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". |
| 1059 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1060 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 1061 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1062 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1063 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1064 | }, |
| 1065 | "text": "A String", # The text of this segment. |
| 1066 | "words": [ # A list of the word-specific information for each word in the segment. |
| 1067 | { # Word-level info for words in a transcript. |
| 1068 | "confidence": 3.14, # 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. |
| 1069 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 1070 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 1071 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 1072 | }, |
| 1073 | ], |
| 1074 | }, |
| 1075 | ], |
| 1076 | }, |
| 1077 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 1078 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 1079 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 1080 | }, |
| 1081 | ], |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 1082 | "nextPageToken": "A String", # A token which can be sent as `page_token` to retrieve the next page. If this field is set, it means there is another page available. If it is not set, it means no other pages are available. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1083 | }</pre> |
| 1084 | </div> |
| 1085 | |
| 1086 | <div class="method"> |
| 1087 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 1088 | <pre>Retrieves the next page of results. |
| 1089 | |
| 1090 | Args: |
| 1091 | previous_request: The request for the previous page. (required) |
| 1092 | previous_response: The response from the request for the previous page. (required) |
| 1093 | |
| 1094 | Returns: |
| 1095 | A request object that you can call 'execute()' on to request the next |
| 1096 | page. Returns None if there are no more items in the collection. |
| 1097 | </pre> |
| 1098 | </div> |
| 1099 | |
| 1100 | <div class="method"> |
| 1101 | <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> |
| 1102 | <pre>Updates a conversation. |
| 1103 | |
| 1104 | Args: |
| 1105 | name: string, Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} (required) |
| 1106 | body: object, The request body. |
| 1107 | The object takes the form of: |
| 1108 | |
| 1109 | { # The conversation resource. |
| 1110 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 1111 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 1112 | "agentChannel": 42, # The audio channel that contains the agent. |
| 1113 | "customerChannel": 42, # The audio channel that contains the customer. |
| 1114 | }, |
| 1115 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 1116 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 1117 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 1118 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 1119 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 1120 | }, |
| 1121 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 1122 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 1123 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 1124 | }, |
| 1125 | }, |
| 1126 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 1127 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 1128 | "displayName": "A String", # The human-readable name of the intent. |
| 1129 | }, |
| 1130 | }, |
| 1131 | "duration": "A String", # Output only. The duration of the conversation. |
| 1132 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 1133 | "labels": { # 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. |
| 1134 | "a_key": "A String", |
| 1135 | }, |
| 1136 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 1137 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 1138 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 1139 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 1140 | "annotations": [ # A list of call annotations that apply to this call. |
| 1141 | { # A piece of metadata that applies to a window of a call. |
| 1142 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 1143 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1144 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1145 | }, |
| 1146 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 1147 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1148 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1149 | }, |
| 1150 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 1151 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 1152 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 1153 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 1154 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1155 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1156 | }, |
| 1157 | "type": "A String", # The type of the entity mention. |
| 1158 | }, |
| 1159 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 1160 | }, |
| 1161 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 1162 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 1163 | }, |
| 1164 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 1165 | }, |
| 1166 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 1167 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 1168 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 1169 | }, |
| 1170 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 1171 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1172 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1173 | }, |
| 1174 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 1175 | }, |
| 1176 | }, |
| 1177 | ], |
| 1178 | "entities": { # All the entities in the call. |
| 1179 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 1180 | "displayName": "A String", # The representative name for the entity. |
| 1181 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 1182 | "a_key": "A String", |
| 1183 | }, |
| 1184 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 1185 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 1186 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1187 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1188 | }, |
| 1189 | "type": "A String", # The entity type. |
| 1190 | }, |
| 1191 | }, |
| 1192 | "intents": { # All the matched intents in the call. |
| 1193 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 1194 | "displayName": "A String", # The human-readable name of the intent. |
| 1195 | "id": "A String", # The unique identifier of the intent. |
| 1196 | }, |
| 1197 | }, |
| 1198 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 1199 | "issueModel": "A String", # Issue model that generates the result. |
| 1200 | "issues": [ # All the matched issues. |
| 1201 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 1202 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1203 | "issue": "A String", # Resource name of the assigned issue. |
| 1204 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 1205 | }, |
| 1206 | ], |
| 1207 | }, |
| 1208 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 1209 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 1210 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 1211 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 1212 | }, |
| 1213 | }, |
| 1214 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 1215 | { # One channel of conversation-level sentiment data. |
| 1216 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 1217 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 1218 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1219 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1220 | }, |
| 1221 | }, |
| 1222 | ], |
| 1223 | }, |
| 1224 | "endTime": "A String", # The time at which the analysis ended. |
| 1225 | }, |
| 1226 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 1227 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 1228 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 1229 | }, |
| 1230 | "medium": "A String", # Immutable. The conversation medium. |
| 1231 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 1232 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 1233 | { # An annotation that was generated during the customer and agent interaction. |
| 1234 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 1235 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 1236 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 1237 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 1238 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 1239 | }, |
| 1240 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 1241 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1242 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 1243 | "a_key": "A String", |
| 1244 | }, |
| 1245 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1246 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 1247 | "title": "A String", # Article title. |
| 1248 | "uri": "A String", # Article URI. |
| 1249 | }, |
| 1250 | "createTime": "A String", # The time at which this annotation was created. |
| 1251 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 1252 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1253 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 1254 | }, |
| 1255 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 1256 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1257 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1258 | }, |
| 1259 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 1260 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 1261 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1262 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 1263 | "a_key": "A String", |
| 1264 | }, |
| 1265 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 1266 | "question": "A String", # The corresponding FAQ question. |
| 1267 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 1268 | }, |
| 1269 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 1270 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1271 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 1272 | "a_key": "A String", |
| 1273 | }, |
| 1274 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1275 | "suggestion": "A String", # The content of the suggestion. |
| 1276 | }, |
| 1277 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 1278 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1279 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 1280 | "a_key": "A String", |
| 1281 | }, |
| 1282 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1283 | "reply": "A String", # The content of the reply. |
| 1284 | }, |
| 1285 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 1286 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1287 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1288 | }, |
| 1289 | }, |
| 1290 | ], |
| 1291 | "startTime": "A String", # The time at which the conversation started. |
| 1292 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 1293 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 1294 | { # A segment of a full transcript. |
| 1295 | "channelTag": 42, # 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. |
| 1296 | "confidence": 3.14, # 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. |
| 1297 | "languageCode": "A 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". |
| 1298 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1299 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 1300 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1301 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1302 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1303 | }, |
| 1304 | "text": "A String", # The text of this segment. |
| 1305 | "words": [ # A list of the word-specific information for each word in the segment. |
| 1306 | { # Word-level info for words in a transcript. |
| 1307 | "confidence": 3.14, # 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. |
| 1308 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 1309 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 1310 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 1311 | }, |
| 1312 | ], |
| 1313 | }, |
| 1314 | ], |
| 1315 | }, |
| 1316 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 1317 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 1318 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 1319 | } |
| 1320 | |
| 1321 | updateMask: string, The list of fields to be updated. |
| 1322 | x__xgafv: string, V1 error format. |
| 1323 | Allowed values |
| 1324 | 1 - v1 error format |
| 1325 | 2 - v2 error format |
| 1326 | |
| 1327 | Returns: |
| 1328 | An object of the form: |
| 1329 | |
| 1330 | { # The conversation resource. |
| 1331 | "agentId": "A String", # An opaque, user-specified string representing the human agent who handled the conversation. |
| 1332 | "callMetadata": { # Call-specific metadata. # Call-specific metadata. |
| 1333 | "agentChannel": 42, # The audio channel that contains the agent. |
| 1334 | "customerChannel": 42, # The audio channel that contains the customer. |
| 1335 | }, |
| 1336 | "createTime": "A String", # Output only. The time at which the conversation was created. |
| 1337 | "dataSource": { # The conversation source, which is a combination of transcript and audio. # The source of the audio and transcription for the conversation. |
| 1338 | "dialogflowSource": { # A Dialogflow source of conversation data. # The source when the conversation comes from Dialogflow. |
| 1339 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 1340 | "dialogflowConversation": "A String", # Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 1341 | }, |
| 1342 | "gcsSource": { # A Cloud Storage source of conversation data. # A Cloud Storage location specification for the audio and transcript. |
| 1343 | "audioUri": "A String", # Cloud Storage URI that points to a file that contains the conversation audio. |
| 1344 | "transcriptUri": "A String", # Immutable. Cloud Storage URI that points to a file that contains the conversation transcript. |
| 1345 | }, |
| 1346 | }, |
| 1347 | "dialogflowIntents": { # Output only. All the matched Dialogflow intents in the call. The key corresponds to a Dialogflow intent, format: projects/{project}/agent/{agent}/intents/{intent} |
| 1348 | "a_key": { # The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE. |
| 1349 | "displayName": "A String", # The human-readable name of the intent. |
| 1350 | }, |
| 1351 | }, |
| 1352 | "duration": "A String", # Output only. The duration of the conversation. |
| 1353 | "expireTime": "A String", # The time at which this conversation should expire. After this time, the conversation data and any associated analyses will be deleted. |
| 1354 | "labels": { # 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. |
| 1355 | "a_key": "A String", |
| 1356 | }, |
| 1357 | "languageCode": "A String", # A user-specified language code for the conversation. |
| 1358 | "latestAnalysis": { # The analysis resource. # Output only. The conversation's latest analysis, if one exists. |
| 1359 | "analysisResult": { # The result of an analysis. # Output only. The result of the analysis, which is populated when the analysis finishes. |
| 1360 | "callAnalysisMetadata": { # Call-specific metadata created during analysis. # Call-specific metadata created by the analysis. |
| 1361 | "annotations": [ # A list of call annotations that apply to this call. |
| 1362 | { # A piece of metadata that applies to a window of a call. |
| 1363 | "annotationEndBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 1364 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1365 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1366 | }, |
| 1367 | "annotationStartBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 1368 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1369 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1370 | }, |
| 1371 | "channelTag": 42, # The channel of the audio where the annotation occurs. For single-channel audio, this field is not populated. |
| 1372 | "entityMentionData": { # The data for an entity mention annotation. This represents a mention of an `Entity` in the conversation. # Data specifying an entity mention. |
| 1373 | "entityUniqueId": "A String", # The key of this entity in conversation entities. Can be used to retrieve the exact `Entity` this mention is attached to. |
| 1374 | "sentiment": { # The data for a sentiment annotation. # Sentiment expressed for this mention of the entity. |
| 1375 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1376 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1377 | }, |
| 1378 | "type": "A String", # The type of the entity mention. |
| 1379 | }, |
| 1380 | "holdData": { # The data for a hold annotation. # Data specifying a hold. |
| 1381 | }, |
| 1382 | "intentMatchData": { # The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences. # Data specifying an intent match. |
| 1383 | "intentUniqueId": "A String", # The id of the matched intent. Can be used to retrieve the corresponding intent information. |
| 1384 | }, |
| 1385 | "interruptionData": { # The data for an interruption annotation. # Data specifying an interruption. |
| 1386 | }, |
| 1387 | "phraseMatchData": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. # Data specifying a phrase match. |
| 1388 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 1389 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 1390 | }, |
| 1391 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 1392 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1393 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1394 | }, |
| 1395 | "silenceData": { # The data for a silence annotation. # Data specifying silence. |
| 1396 | }, |
| 1397 | }, |
| 1398 | ], |
| 1399 | "entities": { # All the entities in the call. |
| 1400 | "a_key": { # The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location. |
| 1401 | "displayName": "A String", # The representative name for the entity. |
| 1402 | "metadata": { # Metadata associated with the entity. For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`), if they are available. For the metadata associated with other entity types, see the Type table below. |
| 1403 | "a_key": "A String", |
| 1404 | }, |
| 1405 | "salience": 3.14, # The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. |
| 1406 | "sentiment": { # The data for a sentiment annotation. # The aggregate sentiment expressed for this entity in the conversation. |
| 1407 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1408 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1409 | }, |
| 1410 | "type": "A String", # The entity type. |
| 1411 | }, |
| 1412 | }, |
| 1413 | "intents": { # All the matched intents in the call. |
| 1414 | "a_key": { # The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE. |
| 1415 | "displayName": "A String", # The human-readable name of the intent. |
| 1416 | "id": "A String", # The unique identifier of the intent. |
| 1417 | }, |
| 1418 | }, |
| 1419 | "issueModelResult": { # Issue Modeling result on a conversation. # Overall conversation-level issue modeling result. |
| 1420 | "issueModel": "A String", # Issue model that generates the result. |
| 1421 | "issues": [ # All the matched issues. |
| 1422 | { # Information about the issue. |
yoshi-code-bot | 2da5ed1 | 2021-09-07 00:20:27 -0700 | [diff] [blame^] | 1423 | "displayName": "A String", # Immutable. Display name of the assigned issue. This field is set at time of analyis and immutable since then. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1424 | "issue": "A String", # Resource name of the assigned issue. |
| 1425 | "score": 3.14, # Score indicating the likelihood of the issue assignment. currently bounded on [0,1]. |
| 1426 | }, |
| 1427 | ], |
| 1428 | }, |
| 1429 | "phraseMatchers": { # All the matched phrase matchers in the call. |
| 1430 | "a_key": { # The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match. |
| 1431 | "displayName": "A String", # The human-readable name of the phrase matcher. |
| 1432 | "phraseMatcher": "A String", # The unique identifier (the resource name) of the phrase matcher. |
| 1433 | }, |
| 1434 | }, |
| 1435 | "sentiments": [ # Overall conversation-level sentiment for each channel of the call. |
| 1436 | { # One channel of conversation-level sentiment data. |
| 1437 | "channelTag": 42, # The channel of the audio that the data applies to. |
| 1438 | "sentimentData": { # The data for a sentiment annotation. # Data specifying sentiment. |
| 1439 | "magnitude": 3.14, # A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score. |
| 1440 | "score": 3.14, # The sentiment score between -1.0 (negative) and 1.0 (positive). |
| 1441 | }, |
| 1442 | }, |
| 1443 | ], |
| 1444 | }, |
| 1445 | "endTime": "A String", # The time at which the analysis ended. |
| 1446 | }, |
| 1447 | "createTime": "A String", # Output only. The time at which the analysis was created, which occurs when the long-running operation completes. |
| 1448 | "name": "A String", # Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} |
| 1449 | "requestTime": "A String", # Output only. The time at which the analysis was requested. |
| 1450 | }, |
| 1451 | "medium": "A String", # Immutable. The conversation medium. |
| 1452 | "name": "A String", # Immutable. The resource name of the conversation. Format: projects/{project}/locations/{location}/conversations/{conversation} |
| 1453 | "runtimeAnnotations": [ # Output only. The annotations that were generated during the customer and agent interaction. |
| 1454 | { # An annotation that was generated during the customer and agent interaction. |
| 1455 | "annotationId": "A String", # The unique identifier of the annotation. Format: projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} |
| 1456 | "answerFeedback": { # The feedback that the customer has about a certain answer in the conversation. # The feedback that the customer has about the answer in `data`. |
| 1457 | "clicked": True or False, # Indicates whether an answer or item was clicked by the human agent. |
| 1458 | "correctnessLevel": "A String", # The correctness level of an answer. |
| 1459 | "displayed": True or False, # Indicates whether an answer or item was displayed to the human agent in the agent desktop UI. |
| 1460 | }, |
| 1461 | "articleSuggestion": { # Agent Assist Article Suggestion data. # Agent Assist Article Suggestion data. |
| 1462 | "confidenceScore": 3.14, # The system's confidence score that this article is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1463 | "metadata": { # Map that contains metadata about the Article Suggestion and the document that it originates from. |
| 1464 | "a_key": "A String", |
| 1465 | }, |
| 1466 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1467 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} |
| 1468 | "title": "A String", # Article title. |
| 1469 | "uri": "A String", # Article URI. |
| 1470 | }, |
| 1471 | "createTime": "A String", # The time at which this annotation was created. |
| 1472 | "dialogflowInteraction": { # Dialogflow interaction data. # Dialogflow interaction data. |
| 1473 | "confidence": 3.14, # The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1474 | "dialogflowIntentId": "A String", # The Dialogflow intent resource path. Format: projects/{project}/agent/{agent}/intents/{intent} |
| 1475 | }, |
| 1476 | "endBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation ends, inclusive. |
| 1477 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1478 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1479 | }, |
| 1480 | "faqAnswer": { # Agent Assist frequently-asked-question answer data. # Agent Assist FAQ answer data. |
| 1481 | "answer": "A String", # The piece of text from the `source` knowledge base document. |
| 1482 | "confidenceScore": 3.14, # The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1483 | "metadata": { # Map that contains metadata about the FAQ answer and the document that it originates from. |
| 1484 | "a_key": "A String", |
| 1485 | }, |
| 1486 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record}. |
| 1487 | "question": "A String", # The corresponding FAQ question. |
| 1488 | "source": "A String", # The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. |
| 1489 | }, |
| 1490 | "smartComposeSuggestion": { # Agent Assist Smart Compose suggestion data. # Agent Assist Smart Compose suggestion data. |
| 1491 | "confidenceScore": 3.14, # The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1492 | "metadata": { # Map that contains metadata about the Smart Compose suggestion and the document from which it originates. |
| 1493 | "a_key": "A String", |
| 1494 | }, |
| 1495 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1496 | "suggestion": "A String", # The content of the suggestion. |
| 1497 | }, |
| 1498 | "smartReply": { # Agent Assist Smart Reply data. # Agent Assist Smart Reply data. |
| 1499 | "confidenceScore": 3.14, # The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
| 1500 | "metadata": { # Map that contains metadata about the Smart Reply and the document from which it originates. |
| 1501 | "a_key": "A String", |
| 1502 | }, |
| 1503 | "queryRecord": "A String", # Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_record} |
| 1504 | "reply": "A String", # The content of the reply. |
| 1505 | }, |
| 1506 | "startBoundary": { # A point in a conversation that marks the start or the end of an annotation. # The boundary in the conversation where the annotation starts, inclusive. |
| 1507 | "transcriptIndex": 42, # The index in the sequence of transcribed pieces of the conversation where the boundary is located. This index starts at zero. |
| 1508 | "wordIndex": 42, # The word index of this boundary with respect to the first word in the transcript piece. This index starts at zero. |
| 1509 | }, |
| 1510 | }, |
| 1511 | ], |
| 1512 | "startTime": "A String", # The time at which the conversation started. |
| 1513 | "transcript": { # A message representing the transcript of a conversation. # Output only. The conversation transcript. |
| 1514 | "transcriptSegments": [ # A list of sequential transcript segments that comprise the conversation. |
| 1515 | { # A segment of a full transcript. |
| 1516 | "channelTag": 42, # 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. |
| 1517 | "confidence": 3.14, # 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. |
| 1518 | "languageCode": "A 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". |
| 1519 | "segmentParticipant": { # The call participant speaking for a given utterance. # The participant of this segment. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1520 | "dialogflowParticipant": "A String", # Deprecated. Use `dialogflow_participant_name` instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
| 1521 | "dialogflowParticipantName": "A String", # The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1522 | "role": "A String", # The role of the participant. |
yoshi-code-bot | cdf480e | 2021-08-17 00:20:40 -0700 | [diff] [blame] | 1523 | "userId": "A String", # A user-specified ID representing the participant. |
yoshi-code-bot | 3e4b5db | 2021-08-10 00:22:29 -0700 | [diff] [blame] | 1524 | }, |
| 1525 | "text": "A String", # The text of this segment. |
| 1526 | "words": [ # A list of the word-specific information for each word in the segment. |
| 1527 | { # Word-level info for words in a transcript. |
| 1528 | "confidence": 3.14, # 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. |
| 1529 | "endOffset": "A String", # Time offset of the end of this word relative to the beginning of the total conversation. |
| 1530 | "startOffset": "A String", # Time offset of the start of this word relative to the beginning of the total conversation. |
| 1531 | "word": "A String", # The word itself. Includes punctuation marks that surround the word. |
| 1532 | }, |
| 1533 | ], |
| 1534 | }, |
| 1535 | ], |
| 1536 | }, |
| 1537 | "ttl": "A String", # Input only. The TTL for this resource. If specified, then this TTL will be used to calculate the expire time. |
| 1538 | "turnCount": 42, # Output only. The number of turns in the conversation. |
| 1539 | "updateTime": "A String", # Output only. The most recent time at which the conversation was updated. |
| 1540 | }</pre> |
| 1541 | </div> |
| 1542 | |
| 1543 | </body></html> |