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