Debian Codegraph @

docs/dyn/contactcenterinsights_v1.projects.locations.qaQuestionTags.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.qaQuestionTags.html">qaQuestionTags</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, qaQuestionTagId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a QaQuestionTag.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a QaQuestionTag.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a QaQuestionTag.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists the question tags.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a QaQuestionTag.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, qaQuestionTagId=None, x__xgafv=None)</code>
103 <pre>Creates a QaQuestionTag.
104
105 Args:
106 parent: string, Required. The parent resource of the QaQuestionTag. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., &quot;Customer Satisfaction&quot;,&quot;Billing&quot;, etc.
111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the question tag was created.
112 &quot;displayName&quot;: &quot;A String&quot;, # Required. A user-specified display name for the tag.
113 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
114 &quot;qaQuestionIds&quot;: [ # Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.
115 &quot;A String&quot;,
116 ],
117 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the question tag was updated.
118 }
119
120 qaQuestionTagId: string, Optional. A unique ID for the new QaQuestionTag. This ID will become the final component of the QaQuestionTag&#x27;s resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`.
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126 Returns:
127 An object of the form:
128
129 { # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., &quot;Customer Satisfaction&quot;,&quot;Billing&quot;, etc.
130 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the question tag was created.
131 &quot;displayName&quot;: &quot;A String&quot;, # Required. A user-specified display name for the tag.
132 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
133 &quot;qaQuestionIds&quot;: [ # Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.
134 &quot;A String&quot;,
135 ],
136 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the question tag was updated.
137 }</pre>
138 </div>
139
140 <div class="method">
141 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
142 <pre>Deletes a QaQuestionTag.
143
144 Args:
145 name: string, Required. The name of the QaQuestionTag to delete. (required)
146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
150
151 Returns:
152 An object of the form:
153
154 { # This resource represents a long-running operation that is the result of a network API call.
155 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
156 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
157 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
158 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
159 {
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161 },
162 ],
163 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
164 },
165 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
166 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
167 },
168 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
169 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 }</pre>
173 </div>
174
175 <div class="method">
176 <code class="details" id="get">get(name, x__xgafv=None)</code>
177 <pre>Gets a QaQuestionTag.
178
179 Args:
180 name: string, Required. The name of the QaQuestionTag to get. (required)
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., &quot;Customer Satisfaction&quot;,&quot;Billing&quot;, etc.
190 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the question tag was created.
191 &quot;displayName&quot;: &quot;A String&quot;, # Required. A user-specified display name for the tag.
192 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
193 &quot;qaQuestionIds&quot;: [ # Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.
194 &quot;A String&quot;,
195 ],
196 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the question tag was updated.
197 }</pre>
198 </div>
199
200 <div class="method">
201 <code class="details" id="list">list(parent, filter=None, x__xgafv=None)</code>
202 <pre>Lists the question tags.
203
204 Args:
205 parent: string, Required. The parent resource of the QaQuestionTags. (required)
206 filter: string, Optional. A filter to reduce results to a specific subset. Supports conjunctions (ie. AND operators). Supported fields include the following: * `project_id` - id of the project to list tags for * `qa_scorecard_id` - id of the scorecard to list tags for * `revision_id` - id of the scorecard revision to list tags for` * `qa_question_id - id of the question to list tags for`
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212 Returns:
213 An object of the form:
214
215 { # The response from a ListQaQuestionTags request.
216 &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 omitted, there are no subsequent pages.
217 &quot;qaQuestionTags&quot;: [ # The parent resource of the questions.
218 { # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., &quot;Customer Satisfaction&quot;,&quot;Billing&quot;, etc.
219 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the question tag was created.
220 &quot;displayName&quot;: &quot;A String&quot;, # Required. A user-specified display name for the tag.
221 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
222 &quot;qaQuestionIds&quot;: [ # Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.
223 &quot;A String&quot;,
224 ],
225 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the question tag was updated.
226 },
227 ],
228 }</pre>
229 </div>
230
231 <div class="method">
232 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
233 <pre>Updates a QaQuestionTag.
234
235 Args:
236 name: string, Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource. (required)
237 body: object, The request body.
238 The object takes the form of:
239
240 { # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., &quot;Customer Satisfaction&quot;,&quot;Billing&quot;, etc.
241 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the question tag was created.
242 &quot;displayName&quot;: &quot;A String&quot;, # Required. A user-specified display name for the tag.
243 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
244 &quot;qaQuestionIds&quot;: [ # Optional. The list of Scorecard Question IDs that the tag applies to. Each QaQuestionId is represented as a full resource name containing the Question ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard Questions, we treat this field as optional.
245 &quot;A String&quot;,
246 ],
247 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The most recent time at which the question tag was updated.
248 }
249
250 updateMask: string, Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `qa_question_tag_name` - the name of the tag * `qa_question_ids` - the list of questions the tag applies to
251 x__xgafv: string, V1 error format.
252 Allowed values
253 1 - v1 error format
254 2 - v2 error format
255
256 Returns:
257 An object of the form:
258
259 { # This resource represents a long-running operation that is the result of a network API call.
260 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
261 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
262 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
263 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
264 {
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 ],
268 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
269 },
270 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
271 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
272 },
273 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
274 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
275 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
276 },
277 }</pre>
278 </div>
279
280 </body></html>