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