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