Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedViews.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.authorizedViewSet.html">authorizedViewSet</a> . <a href="contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedViews.html">authorizedViews</a> . <a href="contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedViews.conversations.html">conversations</a> . <a href="contactcenterinsights_v1.projects.locations.authorizedViewSet.authorizedViews.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.
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.
116 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
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 the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
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;.
122 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
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;strValue&quot;: &quot;A String&quot;, # String value.
127 },
128 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
129 }
130
131 feedbackLabelId: string, Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.
132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
136
137 Returns:
138 An object of the form:
139
140 { # Represents a conversation, resource, and label provided by the user.
141 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
142 &quot;label&quot;: &quot;A String&quot;, # String label.
143 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
144 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
145 &quot;qaAnswerLabel&quot;: { # Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
146 &quot;boolValue&quot;: True or False, # Boolean value.
147 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
148 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;.
149 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
150 &quot;numValue&quot;: 3.14, # Numerical value.
151 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
152 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
153 &quot;strValue&quot;: &quot;A String&quot;, # String value.
154 },
155 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
156 }</pre>
157 </div>
158
159 <div class="method">
160 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
161 <pre>Delete feedback label.
162
163 Args:
164 name: string, Required. The name of the feedback label to delete. (required)
165 x__xgafv: string, V1 error format.
166 Allowed values
167 1 - v1 error format
168 2 - v2 error format
169
170 Returns:
171 An object of the form:
172
173 { # 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); }
174 }</pre>
175 </div>
176
177 <div class="method">
178 <code class="details" id="get">get(name, x__xgafv=None)</code>
179 <pre>Get feedback label.
180
181 Args:
182 name: string, Required. The name of the feedback label to get. (required)
183 x__xgafv: string, V1 error format.
184 Allowed values
185 1 - v1 error format
186 2 - v2 error format
187
188 Returns:
189 An object of the form:
190
191 { # Represents a conversation, resource, and label provided by the user.
192 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
193 &quot;label&quot;: &quot;A String&quot;, # String label.
194 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
195 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
196 &quot;qaAnswerLabel&quot;: { # Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
197 &quot;boolValue&quot;: True or False, # Boolean value.
198 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
199 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;.
200 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
201 &quot;numValue&quot;: 3.14, # Numerical value.
202 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
203 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
204 &quot;strValue&quot;: &quot;A String&quot;, # String value.
205 },
206 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
207 }</pre>
208 </div>
209
210 <div class="method">
211 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
212 <pre>List feedback labels.
213
214 Args:
215 parent: string, Required. The parent resource of the feedback labels. (required)
216 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
217 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.
218 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.
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223
224 Returns:
225 An object of the form:
226
227 { # The response for listing feedback labels.
228 &quot;feedbackLabels&quot;: [ # The feedback labels that match the request.
229 { # Represents a conversation, resource, and label provided by the user.
230 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
231 &quot;label&quot;: &quot;A String&quot;, # String label.
232 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
233 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
234 &quot;qaAnswerLabel&quot;: { # Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
235 &quot;boolValue&quot;: True or False, # Boolean value.
236 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
237 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;.
238 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
239 &quot;numValue&quot;: 3.14, # Numerical value.
240 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
241 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
242 &quot;strValue&quot;: &quot;A String&quot;, # String value.
243 },
244 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
245 },
246 ],
247 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token.
248 }</pre>
249 </div>
250
251 <div class="method">
252 <code class="details" id="list_next">list_next()</code>
253 <pre>Retrieves the next page of results.
254
255 Args:
256 previous_request: The request for the previous page. (required)
257 previous_response: The response from the request for the previous page. (required)
258
259 Returns:
260 A request object that you can call &#x27;execute()&#x27; on to request the next
261 page. Returns None if there are no more items in the collection.
262 </pre>
263 </div>
264
265 <div class="method">
266 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
267 <pre>Update feedback label.
268
269 Args:
270 name: string, Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} (required)
271 body: object, The request body.
272 The object takes the form of:
273
274 { # Represents a conversation, resource, and label provided by the user.
275 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
276 &quot;label&quot;: &quot;A String&quot;, # String label.
277 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
278 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
279 &quot;qaAnswerLabel&quot;: { # Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
280 &quot;boolValue&quot;: True or False, # Boolean value.
281 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
282 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;.
283 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
284 &quot;numValue&quot;: 3.14, # Numerical value.
285 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
286 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
287 &quot;strValue&quot;: &quot;A String&quot;, # String value.
288 },
289 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
290 }
291
292 updateMask: string, Required. The list of fields to be updated.
293 x__xgafv: string, V1 error format.
294 Allowed values
295 1 - v1 error format
296 2 - v2 error format
297
298 Returns:
299 An object of the form:
300
301 { # Represents a conversation, resource, and label provided by the user.
302 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the label.
303 &quot;label&quot;: &quot;A String&quot;, # String label.
304 &quot;labeledResource&quot;: &quot;A String&quot;, # Resource name of the resource to be labeled.
305 &quot;name&quot;: &quot;A String&quot;, # Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
306 &quot;qaAnswerLabel&quot;: { # Message for holding the value of the answer. QaQuestion.AnswerChoice defines the possible answer values for a question. # QaAnswer label.
307 &quot;boolValue&quot;: True or False, # Boolean value.
308 &quot;key&quot;: &quot;A String&quot;, # A short string used as an identifier. Matches the value used in QaQuestion.AnswerChoice.key.
309 &quot;naValue&quot;: True or False, # A value of &quot;Not Applicable (N/A)&quot;.
310 &quot;normalizedScore&quot;: 3.14, # Output only. Normalized score of the questions. Calculated as score / potential_score iff potential_score != 0 else 0
311 &quot;numValue&quot;: 3.14, # Numerical value.
312 &quot;potentialScore&quot;: 3.14, # Output only. The maximum potential score of the question.
313 &quot;score&quot;: 3.14, # Output only. Numerical score of the answer.
314 &quot;strValue&quot;: &quot;A String&quot;, # String value.
315 },
316 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time of the label.
317 }</pre>
318 </div>
319
320 </body></html>