Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.conversations.feedbackLabels.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.conversations.html">conversations</a> . <a href="contactcenterinsights_v1.projects.locations.conversations.feedbackLabels.html">feedbackLabels</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="#create">create(parent, body=None, feedbackLabelId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create feedback label.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete feedback label.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get feedback label.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List feedback labels.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update feedback label.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, feedbackLabelId=None, x__xgafv=None)</code>
106 <pre>Create feedback label.
107
108 Args:
109 parent: string, Required. The parent resource of the feedback label. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
115 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
116 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
117 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
118 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
119 &quot;boolValue&quot;: True or False, # Boolean value.
120 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
121 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
122 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
123 &quot;numValue&quot;: 3.14, # Numerical value.
124 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
125 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
126 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
127 &quot;strValue&quot;: &quot;A String&quot;, # String value.
128 },
129 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
130 }
131
132 feedbackLabelId: string, Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
133 x__xgafv: string, V1 error format.
134 Allowed values
135 1 - v1 error format
136 2 - v2 error format
137
138 Returns:
139 An object of the form:
140
141 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
142 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
143 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
144 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
145 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
146 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
147 &quot;boolValue&quot;: True or False, # Boolean value.
148 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
149 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
150 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
151 &quot;numValue&quot;: 3.14, # Numerical value.
152 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
153 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
154 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
155 &quot;strValue&quot;: &quot;A String&quot;, # String value.
156 },
157 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
158 }</pre>
159 </div>
160
161 <div class="method">
162 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
163 <pre>Delete feedback label.
164
165 Args:
166 name: string, Required. The name of the feedback label to delete. (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172 Returns:
173 An object of the form:
174
175 { # 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); }
176 }</pre>
177 </div>
178
179 <div class="method">
180 <code class="details" id="get">get(name, x__xgafv=None)</code>
181 <pre>Get feedback label.
182
183 Args:
184 name: string, Required. The name of the feedback label to get. (required)
185 x__xgafv: string, V1 error format.
186 Allowed values
187 1 - v1 error format
188 2 - v2 error format
189
190 Returns:
191 An object of the form:
192
193 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
194 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
195 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
196 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
197 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
198 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
199 &quot;boolValue&quot;: True or False, # Boolean value.
200 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
201 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
202 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
203 &quot;numValue&quot;: 3.14, # Numerical value.
204 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
205 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
206 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
207 &quot;strValue&quot;: &quot;A String&quot;, # String value.
208 },
209 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
210 }</pre>
211 </div>
212
213 <div class="method">
214 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
215 <pre>List feedback labels.
216
217 Args:
218 parent: string, Required. The parent resource of the feedback labels. (required)
219 filter: string, Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation ID. To sort by all feedback labels in a project see ListAllFeedbackLabels. Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
220 pageSize: integer, Optional. The maximum number of feedback labels to return in the response. A valid page size ranges from 0 to 100,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.
221 pageToken: string, Optional. The value returned by the last `ListFeedbackLabelsResponse`. This value indicates that this is a continuation of a prior `ListFeedbackLabels` call and that the system should return the next page of data.
222 x__xgafv: string, V1 error format.
223 Allowed values
224 1 - v1 error format
225 2 - v2 error format
226
227 Returns:
228 An object of the form:
229
230 { # The response for listing feedback labels.
231 &quot;feedbackLabels&quot;: [ # The feedback labels that match the request.
232 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
233 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
234 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
235 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
236 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
237 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
238 &quot;boolValue&quot;: True or False, # Boolean value.
239 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
240 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
241 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
242 &quot;numValue&quot;: 3.14, # Numerical value.
243 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
244 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
245 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
246 &quot;strValue&quot;: &quot;A String&quot;, # String value.
247 },
248 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
249 },
250 ],
251 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token.
252 }</pre>
253 </div>
254
255 <div class="method">
256 <code class="details" id="list_next">list_next()</code>
257 <pre>Retrieves the next page of results.
258
259 Args:
260 previous_request: The request for the previous page. (required)
261 previous_response: The response from the request for the previous page. (required)
262
263 Returns:
264 A request object that you can call &#x27;execute()&#x27; on to request the next
265 page. Returns None if there are no more items in the collection.
266 </pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
271 <pre>Update feedback label.
272
273 Args:
274 name: string, Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} (required)
275 body: object, The request body.
276 The object takes the form of:
277
278 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
280 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
281 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
282 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
283 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
284 &quot;boolValue&quot;: True or False, # Boolean value.
285 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
286 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
287 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
288 &quot;numValue&quot;: 3.14, # Numerical value.
289 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
290 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
291 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
292 &quot;strValue&quot;: &quot;A String&quot;, # String value.
293 },
294 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
295 }
296
297 updateMask: string, Required. The list of fields to be updated.
298 x__xgafv: string, V1 error format.
299 Allowed values
300 1 - v1 error format
301 2 - v2 error format
302
303 Returns:
304 An object of the form:
305
306 { # Represents a conversation, resource, and label provided by the user. Can take the form of a string label or a QaAnswer label. QaAnswer labels are used for Quality AI example conversations. String labels are used for Topic Modeling. AgentAssistSummary labels are used for Agent Assist Summarization.
307 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
308 &quot;label&quot;: &quot;A String&quot;, # String label used for Topic Modeling.
309 &quot;labeledResource&quot;: &quot;A String&quot;, # Name of the resource to be labeled. Supported resources are: * `projects/{project}/locations/{location}/qaScorecards/{scorecard}/revisions/{revision}/qaQuestions/{question}` * `projects/{project}/locations/{location}/issueModels/{issue_model}` * `projects/{project}/locations/{location}/generators/{generator_id}`
310 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
311 &quot;qaAnswerLabel&quot;: { # Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label used for Quality AI example conversations.
312 &quot;boolValue&quot;: True or False, # Boolean value.
313 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
314 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;. Should only ever be `true`.
315 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score.
316 &quot;numValue&quot;: 3.14, # Numerical value.
317 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
318 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
319 &quot;skipValue&quot;: True or False, # Output only. A value of &quot;Skip&quot;. If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated.
320 &quot;strValue&quot;: &quot;A String&quot;, # String value.
321 },
322 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
323 }</pre>
324 </div>
325
326 </body></html>