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