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