Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.diagnostics.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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.diagnostics.html">diagnostics</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a diagnostic.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets a diagnostic.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists diagnostics.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
100 <pre>Deletes a diagnostic.
101
102 Args:
103 name: string, Required. The name of the diagnostic to delete. (required)
104 x__xgafv: string, V1 error format.
105 Allowed values
106 1 - v1 error format
107 2 - v2 error format
108
109 Returns:
110 An object of the form:
111
112 { # 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); }
113 }</pre>
114 </div>
115
116 <div class="method">
117 <code class="details" id="get">get(name, x__xgafv=None)</code>
118 <pre>Gets a diagnostic.
119
120 Args:
121 name: string, Required. The name of the diagnostic to retrieve. (required)
122 x__xgafv: string, V1 error format.
123 Allowed values
124 1 - v1 error format
125 2 - v2 error format
126
127 Returns:
128 An object of the form:
129
130 { # The diagnostic resource.
131 &quot;analysisSummary&quot;: &quot;A String&quot;, # Output only. The complete sequence of thoughts and actions taken by the agent.
132 &quot;conversationFilter&quot;: &quot;A String&quot;, # Output only. The filter used to select the conversations that were included in the diagnostic.
133 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the diagnostic was created.
134 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of the diagnostic.
135 &quot;report&quot;: { # A diagnostic report containing aggregate metrics and intent breakdowns. # Output only. The report containing the findings of the diagnostic.
136 &quot;conversationSlices&quot;: { # Output only. A map of conversation slices used in the report.
137 &quot;a_key&quot;: { # Output only. A map of conversation slices used in the report.
138 &quot;conversationIds&quot;: [ # The list of conversation IDs that match this slice.
139 &quot;A String&quot;,
140 ],
141 },
142 },
143 &quot;intentStats&quot;: [ # Output only. Deprecated: Intent breakdowns are no longer used.
144 { # A breakdown of metrics grouped by intent.
145 &quot;conversationCount&quot;: 42, # Output only. The number of conversations associated with this intent.
146 &quot;intentDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the intent.
147 &quot;intentId&quot;: &quot;A String&quot;, # Output only. The unique identifier for the intent (from Discovery Engine).
148 &quot;lossPatterns&quot;: [ # Output only. A list of loss patterns identified for this intent.
149 { # A loss pattern of a virtual agent and suggested fixes.
150 &quot;conversationIds&quot;: [ # Output only. A list of conversation IDs that match this loss pattern.
151 &quot;A String&quot;,
152 ],
153 &quot;description&quot;: &quot;A String&quot;, # Output only. A markdown description of the loss pattern.
154 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the loss pattern.
155 &quot;examples&quot;: &quot;A String&quot;, # Output only. A markdown of loss pattern examples.
156 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the loss pattern.
157 &quot;links&quot;: [ # Output only. A list of links to conversations or bot instructions.
158 { # A link to a conversation or bot instruction.
159 &quot;botInstructionLink&quot;: { # A link to a bot instruction. # A link to a bot instruction.
160 &quot;endLine&quot;: 42, # The exclusive end line number of the instructions.
161 &quot;startLine&quot;: 42, # The inclusive start line number of the instructions.
162 &quot;subagent&quot;: &quot;A String&quot;, # The name of the subagent.
163 },
164 &quot;conversationLink&quot;: { # A link to a conversation. # A link to a conversation.
165 &quot;conversationId&quot;: &quot;A String&quot;, # The conversation ID.
166 },
167 &quot;endByteIndex&quot;: 42, # The end byte index of the highlighted text (exclusive).
168 &quot;highlightedText&quot;: &quot;A String&quot;, # The text that is highlighted. (populated for debugging purposes)
169 &quot;locationType&quot;: &quot;A String&quot;, # The location type.
170 &quot;startByteIndex&quot;: 42, # The start byte index of the highlighted text (inclusive).
171 },
172 ],
173 &quot;percentage&quot;: 3.14, # Output only. The percentage of conversations that match this loss pattern.
174 &quot;suggestedFixes&quot;: &quot;A String&quot;, # Output only. A markdown description of the suggested fixes.
175 },
176 ],
177 &quot;metrics&quot;: { # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
178 &quot;a_key&quot;: { # Deprecated: MetricValue is no longer used for diagnostics.
179 &quot;conversations&quot;: [ # Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`
180 &quot;A String&quot;,
181 ],
182 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The user-visible name of the metric (e.g., &quot;Containment Rate&quot;).
183 &quot;hitCount&quot;: 42, # Output only. The number of positive matches (hits) for this metric.
184 &quot;metricType&quot;: &quot;A String&quot;, # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
185 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.
186 &quot;totalCount&quot;: 42, # Output only. The total number of items evaluated for this metric.
187 &quot;value&quot;: 3.14, # Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).
188 },
189 },
190 },
191 ],
192 &quot;lossPatterns&quot;: [ # Output only. A list of loss patterns identified for the entire project/dataset.
193 { # A loss pattern of a virtual agent and suggested fixes.
194 &quot;conversationIds&quot;: [ # Output only. A list of conversation IDs that match this loss pattern.
195 &quot;A String&quot;,
196 ],
197 &quot;description&quot;: &quot;A String&quot;, # Output only. A markdown description of the loss pattern.
198 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the loss pattern.
199 &quot;examples&quot;: &quot;A String&quot;, # Output only. A markdown of loss pattern examples.
200 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the loss pattern.
201 &quot;links&quot;: [ # Output only. A list of links to conversations or bot instructions.
202 { # A link to a conversation or bot instruction.
203 &quot;botInstructionLink&quot;: { # A link to a bot instruction. # A link to a bot instruction.
204 &quot;endLine&quot;: 42, # The exclusive end line number of the instructions.
205 &quot;startLine&quot;: 42, # The inclusive start line number of the instructions.
206 &quot;subagent&quot;: &quot;A String&quot;, # The name of the subagent.
207 },
208 &quot;conversationLink&quot;: { # A link to a conversation. # A link to a conversation.
209 &quot;conversationId&quot;: &quot;A String&quot;, # The conversation ID.
210 },
211 &quot;endByteIndex&quot;: 42, # The end byte index of the highlighted text (exclusive).
212 &quot;highlightedText&quot;: &quot;A String&quot;, # The text that is highlighted. (populated for debugging purposes)
213 &quot;locationType&quot;: &quot;A String&quot;, # The location type.
214 &quot;startByteIndex&quot;: 42, # The start byte index of the highlighted text (inclusive).
215 },
216 ],
217 &quot;percentage&quot;: 3.14, # Output only. The percentage of conversations that match this loss pattern.
218 &quot;suggestedFixes&quot;: &quot;A String&quot;, # Output only. A markdown description of the suggested fixes.
219 },
220 ],
221 &quot;metrics&quot;: { # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
222 &quot;a_key&quot;: { # Deprecated: MetricValue is no longer used for diagnostics.
223 &quot;conversations&quot;: [ # Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`
224 &quot;A String&quot;,
225 ],
226 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The user-visible name of the metric (e.g., &quot;Containment Rate&quot;).
227 &quot;hitCount&quot;: 42, # Output only. The number of positive matches (hits) for this metric.
228 &quot;metricType&quot;: &quot;A String&quot;, # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
229 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.
230 &quot;totalCount&quot;: 42, # Output only. The total number of items evaluated for this metric.
231 &quot;value&quot;: 3.14, # Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).
232 },
233 },
234 &quot;report&quot;: &quot;A String&quot;, # Output only. The final report in markdown format.
235 },
236 }</pre>
237 </div>
238
239 <div class="method">
240 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
241 <pre>Lists diagnostics.
242
243 Args:
244 parent: string, Required. The parent resource of the diagnostics. (required)
245 filter: string, Optional. A filter to apply to the list (e.g. `create_time &gt; &quot;2023-01-01T00:00:00Z&quot;`).
246 pageSize: integer, Optional. The maximum number of diagnostics to return. The service may return fewer than this value. If unspecified, at most 100 diagnostics will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
247 pageToken: string, Optional. A page token, received from a previous `ListDiagnostics` call. Provide this to retrieve the subsequent page.
248 x__xgafv: string, V1 error format.
249 Allowed values
250 1 - v1 error format
251 2 - v2 error format
252
253 Returns:
254 An object of the form:
255
256 { # The response from a ListDiagnostics request.
257 &quot;diagnostics&quot;: [ # Optional. The diagnostics that match the request.
258 { # The diagnostic resource.
259 &quot;analysisSummary&quot;: &quot;A String&quot;, # Output only. The complete sequence of thoughts and actions taken by the agent.
260 &quot;conversationFilter&quot;: &quot;A String&quot;, # Output only. The filter used to select the conversations that were included in the diagnostic.
261 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the diagnostic was created.
262 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of the diagnostic.
263 &quot;report&quot;: { # A diagnostic report containing aggregate metrics and intent breakdowns. # Output only. The report containing the findings of the diagnostic.
264 &quot;conversationSlices&quot;: { # Output only. A map of conversation slices used in the report.
265 &quot;a_key&quot;: { # Output only. A map of conversation slices used in the report.
266 &quot;conversationIds&quot;: [ # The list of conversation IDs that match this slice.
267 &quot;A String&quot;,
268 ],
269 },
270 },
271 &quot;intentStats&quot;: [ # Output only. Deprecated: Intent breakdowns are no longer used.
272 { # A breakdown of metrics grouped by intent.
273 &quot;conversationCount&quot;: 42, # Output only. The number of conversations associated with this intent.
274 &quot;intentDisplayName&quot;: &quot;A String&quot;, # Output only. The display name of the intent.
275 &quot;intentId&quot;: &quot;A String&quot;, # Output only. The unique identifier for the intent (from Discovery Engine).
276 &quot;lossPatterns&quot;: [ # Output only. A list of loss patterns identified for this intent.
277 { # A loss pattern of a virtual agent and suggested fixes.
278 &quot;conversationIds&quot;: [ # Output only. A list of conversation IDs that match this loss pattern.
279 &quot;A String&quot;,
280 ],
281 &quot;description&quot;: &quot;A String&quot;, # Output only. A markdown description of the loss pattern.
282 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the loss pattern.
283 &quot;examples&quot;: &quot;A String&quot;, # Output only. A markdown of loss pattern examples.
284 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the loss pattern.
285 &quot;links&quot;: [ # Output only. A list of links to conversations or bot instructions.
286 { # A link to a conversation or bot instruction.
287 &quot;botInstructionLink&quot;: { # A link to a bot instruction. # A link to a bot instruction.
288 &quot;endLine&quot;: 42, # The exclusive end line number of the instructions.
289 &quot;startLine&quot;: 42, # The inclusive start line number of the instructions.
290 &quot;subagent&quot;: &quot;A String&quot;, # The name of the subagent.
291 },
292 &quot;conversationLink&quot;: { # A link to a conversation. # A link to a conversation.
293 &quot;conversationId&quot;: &quot;A String&quot;, # The conversation ID.
294 },
295 &quot;endByteIndex&quot;: 42, # The end byte index of the highlighted text (exclusive).
296 &quot;highlightedText&quot;: &quot;A String&quot;, # The text that is highlighted. (populated for debugging purposes)
297 &quot;locationType&quot;: &quot;A String&quot;, # The location type.
298 &quot;startByteIndex&quot;: 42, # The start byte index of the highlighted text (inclusive).
299 },
300 ],
301 &quot;percentage&quot;: 3.14, # Output only. The percentage of conversations that match this loss pattern.
302 &quot;suggestedFixes&quot;: &quot;A String&quot;, # Output only. A markdown description of the suggested fixes.
303 },
304 ],
305 &quot;metrics&quot;: { # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
306 &quot;a_key&quot;: { # Deprecated: MetricValue is no longer used for diagnostics.
307 &quot;conversations&quot;: [ # Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`
308 &quot;A String&quot;,
309 ],
310 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The user-visible name of the metric (e.g., &quot;Containment Rate&quot;).
311 &quot;hitCount&quot;: 42, # Output only. The number of positive matches (hits) for this metric.
312 &quot;metricType&quot;: &quot;A String&quot;, # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
313 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.
314 &quot;totalCount&quot;: 42, # Output only. The total number of items evaluated for this metric.
315 &quot;value&quot;: 3.14, # Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).
316 },
317 },
318 },
319 ],
320 &quot;lossPatterns&quot;: [ # Output only. A list of loss patterns identified for the entire project/dataset.
321 { # A loss pattern of a virtual agent and suggested fixes.
322 &quot;conversationIds&quot;: [ # Output only. A list of conversation IDs that match this loss pattern.
323 &quot;A String&quot;,
324 ],
325 &quot;description&quot;: &quot;A String&quot;, # Output only. A markdown description of the loss pattern.
326 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the loss pattern.
327 &quot;examples&quot;: &quot;A String&quot;, # Output only. A markdown of loss pattern examples.
328 &quot;id&quot;: &quot;A String&quot;, # Output only. The unique identifier for the loss pattern.
329 &quot;links&quot;: [ # Output only. A list of links to conversations or bot instructions.
330 { # A link to a conversation or bot instruction.
331 &quot;botInstructionLink&quot;: { # A link to a bot instruction. # A link to a bot instruction.
332 &quot;endLine&quot;: 42, # The exclusive end line number of the instructions.
333 &quot;startLine&quot;: 42, # The inclusive start line number of the instructions.
334 &quot;subagent&quot;: &quot;A String&quot;, # The name of the subagent.
335 },
336 &quot;conversationLink&quot;: { # A link to a conversation. # A link to a conversation.
337 &quot;conversationId&quot;: &quot;A String&quot;, # The conversation ID.
338 },
339 &quot;endByteIndex&quot;: 42, # The end byte index of the highlighted text (exclusive).
340 &quot;highlightedText&quot;: &quot;A String&quot;, # The text that is highlighted. (populated for debugging purposes)
341 &quot;locationType&quot;: &quot;A String&quot;, # The location type.
342 &quot;startByteIndex&quot;: 42, # The start byte index of the highlighted text (inclusive).
343 },
344 ],
345 &quot;percentage&quot;: 3.14, # Output only. The percentage of conversations that match this loss pattern.
346 &quot;suggestedFixes&quot;: &quot;A String&quot;, # Output only. A markdown description of the suggested fixes.
347 },
348 ],
349 &quot;metrics&quot;: { # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
350 &quot;a_key&quot;: { # Deprecated: MetricValue is no longer used for diagnostics.
351 &quot;conversations&quot;: [ # Output only. The list of conversation names that contributed to this metric (hits). Format: `projects/{project}/locations/{location}/conversations/{conversation}`
352 &quot;A String&quot;,
353 ],
354 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The user-visible name of the metric (e.g., &quot;Containment Rate&quot;).
355 &quot;hitCount&quot;: 42, # Output only. The number of positive matches (hits) for this metric.
356 &quot;metricType&quot;: &quot;A String&quot;, # Output only. Deprecated: The type of the metric. Metrics for Outcome Based Insights derived from QueryMetrics.
357 &quot;sourceId&quot;: &quot;A String&quot;, # Output only. The resource name of the underlying Insights primitive (e.g., Tag or QaQuestion) used to calculate this metric.
358 &quot;totalCount&quot;: 42, # Output only. The total number of items evaluated for this metric.
359 &quot;value&quot;: 3.14, # Output only. The calculated value of the metric (usually a ratio or rate 0.0 - 1.0).
360 },
361 },
362 &quot;report&quot;: &quot;A String&quot;, # Output only. The final report in markdown format.
363 },
364 },
365 ],
366 &quot;nextPageToken&quot;: &quot;A String&quot;, # Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
367 }</pre>
368 </div>
369
370 <div class="method">
371 <code class="details" id="list_next">list_next()</code>
372 <pre>Retrieves the next page of results.
373
374 Args:
375 previous_request: The request for the previous page. (required)
376 previous_response: The response from the request for the previous page. (required)
377
378 Returns:
379 A request object that you can call &#x27;execute()&#x27; on to request the next
380 page. Returns None if there are no more items in the collection.
381 </pre>
382 </div>
383
384 </body></html>