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