Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 27cce21

Browse files
committedMar 18, 2025
feat(contactcenterinsights): update the api
#### contactcenterinsights:v1 The following keys were added: - resources.projects.resources.locations.methods.bulkDeleteFeedbackLabels (Total Keys: 12) - schemas.GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest (Total Keys: 4) - schemas.GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse (Total Keys: 2) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata (Total Keys: 6) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest (Total Keys: 4) - schemas.GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse (Total Keys: 2)
1 parent b7c06b3 commit 27cce21

File tree

2 files changed

+163
-5
lines changed

2 files changed

+163
-5
lines changed
 

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

+46
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ <h2>Instance Methods</h2>
124124
</p>
125125
<p class="firstline">Returns the views Resource.</p>
126126

127+
<p class="toc_element">
128+
<code><a href="#bulkDeleteFeedbackLabels">bulkDeleteFeedbackLabels(parent, body=None, x__xgafv=None)</a></code></p>
129+
<p class="firstline">Delete feedback labels in bulk using a filter.</p>
127130
<p class="toc_element">
128131
<code><a href="#bulkDownloadFeedbackLabels">bulkDownloadFeedbackLabels(parent, body=None, x__xgafv=None)</a></code></p>
129132
<p class="firstline">Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.</p>
@@ -152,6 +155,49 @@ <h2>Instance Methods</h2>
152155
<code><a href="#updateSettings">updateSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
153156
<p class="firstline">Updates project-level settings.</p>
154157
<h3>Method Details</h3>
158+
<div class="method">
159+
<code class="details" id="bulkDeleteFeedbackLabels">bulkDeleteFeedbackLabels(parent, body=None, x__xgafv=None)</code>
160+
<pre>Delete feedback labels in bulk using a filter.
161+
162+
Args:
163+
parent: string, Required. The parent resource for new feedback labels. (required)
164+
body: object, The request body.
165+
The object takes the form of:
166+
167+
{ # Request for the BulkDeleteFeedbackLabels endpoint.
168+
&quot;filter&quot;: &quot;A String&quot;, # Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). 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
169+
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent resource for new feedback labels.
170+
}
171+
172+
x__xgafv: string, V1 error format.
173+
Allowed values
174+
1 - v1 error format
175+
2 - v2 error format
176+
177+
Returns:
178+
An object of the form:
179+
180+
{ # This resource represents a long-running operation that is the result of a network API call.
181+
&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.
182+
&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.
183+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
184+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
185+
{
186+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187+
},
188+
],
189+
&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.
190+
},
191+
&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.
192+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193+
},
194+
&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}`.
195+
&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`.
196+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197+
},
198+
}</pre>
199+
</div>
200+
155201
<div class="method">
156202
<code class="details" id="bulkDownloadFeedbackLabels">bulkDownloadFeedbackLabels(parent, body=None, x__xgafv=None)</code>
157203
<pre>Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.

‎googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json

+117-5
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,34 @@
109109
"resources": {
110110
"locations": {
111111
"methods": {
112+
"bulkDeleteFeedbackLabels": {
113+
"description": "Delete feedback labels in bulk using a filter.",
114+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:bulkDeleteFeedbackLabels",
115+
"httpMethod": "POST",
116+
"id": "contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels",
117+
"parameterOrder": [
118+
"parent"
119+
],
120+
"parameters": {
121+
"parent": {
122+
"description": "Required. The parent resource for new feedback labels.",
123+
"location": "path",
124+
"pattern": "^projects/[^/]+/locations/[^/]+$",
125+
"required": true,
126+
"type": "string"
127+
}
128+
},
129+
"path": "v1/{+parent}:bulkDeleteFeedbackLabels",
130+
"request": {
131+
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest"
132+
},
133+
"response": {
134+
"$ref": "GoogleLongrunningOperation"
135+
},
136+
"scopes": [
137+
"https://www.googleapis.com/auth/cloud-platform"
138+
]
139+
},
112140
"bulkDownloadFeedbackLabels": {
113141
"description": "Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.",
114142
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:bulkDownloadFeedbackLabels",
@@ -2609,7 +2637,7 @@
26092637
}
26102638
}
26112639
},
2612-
"revision": "20250224",
2640+
"revision": "20250311",
26132641
"rootUrl": "https://contactcenterinsights.googleapis.com/",
26142642
"schemas": {
26152643
"GoogleCloudContactcenterinsightsV1Analysis": {
@@ -3106,6 +3134,46 @@
31063134
"properties": {},
31073135
"type": "object"
31083136
},
3137+
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata": {
3138+
"description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
3139+
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata",
3140+
"properties": {
3141+
"partialErrors": {
3142+
"description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
3143+
"items": {
3144+
"$ref": "GoogleRpcStatus"
3145+
},
3146+
"type": "array"
3147+
},
3148+
"request": {
3149+
"$ref": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest",
3150+
"description": "Output only. The original request for delete.",
3151+
"readOnly": true
3152+
}
3153+
},
3154+
"type": "object"
3155+
},
3156+
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest": {
3157+
"description": "Request for the BulkDeleteFeedbackLabels endpoint.",
3158+
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest",
3159+
"properties": {
3160+
"filter": {
3161+
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). 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",
3162+
"type": "string"
3163+
},
3164+
"parent": {
3165+
"description": "Required. The parent resource for new feedback labels.",
3166+
"type": "string"
3167+
}
3168+
},
3169+
"type": "object"
3170+
},
3171+
"GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse": {
3172+
"description": "Response for the BulkDeleteFeedbackLabels endpoint.",
3173+
"id": "GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse",
3174+
"properties": {},
3175+
"type": "object"
3176+
},
31093177
"GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata": {
31103178
"description": "Metadata for the BulkDownloadFeedbackLabel endpoint.",
31113179
"id": "GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata",
@@ -4165,7 +4233,8 @@
41654233
"AGENT_TEAM",
41664234
"QA_QUESTION_ID",
41674235
"QA_QUESTION_ANSWER_VALUE",
4168-
"CONVERSATION_PROFILE_ID"
4236+
"CONVERSATION_PROFILE_ID",
4237+
"MEDIUM"
41694238
],
41704239
"enumDescriptions": [
41714240
"The key of the dimension is unspecified.",
@@ -4175,7 +4244,8 @@
41754244
"The dimension is keyed by agent teams.",
41764245
"The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.",
41774246
"The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.",
4178-
"The dimension is keyed by the conversation profile ID."
4247+
"The dimension is keyed by the conversation profile ID.",
4248+
"The dimension is keyed by the conversation medium."
41794249
],
41804250
"type": "string"
41814251
},
@@ -7148,6 +7218,46 @@
71487218
"properties": {},
71497219
"type": "object"
71507220
},
7221+
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata": {
7222+
"description": "Metadata for the BulkDeleteFeedbackLabels endpoint.",
7223+
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata",
7224+
"properties": {
7225+
"partialErrors": {
7226+
"description": "Partial errors during deletion operation that might cause the operation output to be incomplete.",
7227+
"items": {
7228+
"$ref": "GoogleRpcStatus"
7229+
},
7230+
"type": "array"
7231+
},
7232+
"request": {
7233+
"$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest",
7234+
"description": "Output only. The original request for delete.",
7235+
"readOnly": true
7236+
}
7237+
},
7238+
"type": "object"
7239+
},
7240+
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest": {
7241+
"description": "Request for the BulkDeleteFeedbackLabels endpoint.",
7242+
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest",
7243+
"properties": {
7244+
"filter": {
7245+
"description": "Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). 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",
7246+
"type": "string"
7247+
},
7248+
"parent": {
7249+
"description": "Required. The parent resource for new feedback labels.",
7250+
"type": "string"
7251+
}
7252+
},
7253+
"type": "object"
7254+
},
7255+
"GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse": {
7256+
"description": "Response for the BulkDeleteFeedbackLabels endpoint.",
7257+
"id": "GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse",
7258+
"properties": {},
7259+
"type": "object"
7260+
},
71517261
"GoogleCloudContactcenterinsightsV1alpha1CallAnnotation": {
71527262
"description": "A piece of metadata that applies to a window of a call.",
71537263
"id": "GoogleCloudContactcenterinsightsV1alpha1CallAnnotation",
@@ -7897,7 +8007,8 @@
78978007
"AGENT_TEAM",
78988008
"QA_QUESTION_ID",
78998009
"QA_QUESTION_ANSWER_VALUE",
7900-
"CONVERSATION_PROFILE_ID"
8010+
"CONVERSATION_PROFILE_ID",
8011+
"MEDIUM"
79018012
],
79028013
"enumDescriptions": [
79038014
"The key of the dimension is unspecified.",
@@ -7907,7 +8018,8 @@
79078018
"The dimension is keyed by agent teams.",
79088019
"The dimension is keyed by QaQuestionIds. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing stats for the same question across different scorecard revisions.",
79098020
"The dimension is keyed by QaQuestionIds-Answer value pairs. Note that: We only group by the QuestionId and not the revision-id of the scorecard this question is a part of. This allows for showing distribution of answers per question across different scorecard revisions.",
7910-
"The dimension is keyed by the conversation profile ID."
8021+
"The dimension is keyed by the conversation profile ID.",
8022+
"The dimension is keyed by the conversation medium."
79118023
],
79128024
"type": "string"
79138025
},

0 commit comments

Comments
 (0)
Please sign in to comment.