Skip to content

Commit bf2f1f0

Browse files
feat: Automated regeneration of contactcenterinsights v1 client (googleapis#22130)
Auto-created at 2025-03-16 10:42:08 +0000 using the toys pull request generator.
1 parent 82923b3 commit bf2f1f0

File tree

6 files changed

+277
-2
lines changed

6 files changed

+277
-2
lines changed

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120297,6 +120297,14 @@
120297120297
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest/maxDeleteCount": max_delete_count
120298120298
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest/parent": parent
120299120299
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse": google_cloud_contactcenterinsights_v1_bulk_delete_conversations_response
120300+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata": google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_metadata
120301+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata/partialErrors": partial_errors
120302+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata/partialErrors/partial_error": partial_error
120303+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata/request": request
120304+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest": google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request
120305+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest/filter": filter
120306+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest/parent": parent
120307+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse": google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_response
120300120308
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata": google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_metadata
120301120309
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata/createTime": create_time
120302120310
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata/downloadStats": download_stats
@@ -121184,6 +121192,14 @@
121184121192
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest/maxDeleteCount": max_delete_count
121185121193
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest/parent": parent
121186121194
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse": google_cloud_contactcenterinsights_v1alpha1_bulk_delete_conversations_response
121195+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata": google_cloud_contactcenterinsights_v1alpha1_bulk_delete_feedback_labels_metadata
121196+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata/partialErrors": partial_errors
121197+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata/partialErrors/partial_error": partial_error
121198+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata/request": request
121199+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest": google_cloud_contactcenterinsights_v1alpha1_bulk_delete_feedback_labels_request
121200+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest/filter": filter
121201+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest/parent": parent
121202+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse": google_cloud_contactcenterinsights_v1alpha1_bulk_delete_feedback_labels_response
121187121203
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1CallAnnotation": google_cloud_contactcenterinsights_v1alpha1_call_annotation
121188121204
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1CallAnnotation/annotationEndBoundary": annotation_end_boundary
121189121205
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1CallAnnotation/annotationStartBoundary": annotation_start_boundary
@@ -121942,6 +121958,8 @@
121942121958
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions": test_project_location_authorized_view_set_authorized_view_iam_permissions
121943121959
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions/resource"
121944121960
: resource
121961+
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels": bulk_project_location_delete_feedback_labels
121962+
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels/parent": parent
121945121963
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels": bulk_project_location_download_feedback_labels
121946121964
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels/parent": parent
121947121965
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.bulkUploadFeedbackLabels": bulk_project_location_upload_feedback_labels

generated/google-apis-contactcenterinsights_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-contactcenterinsights_v1
22

3+
### v0.60.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250311
6+
37
### v0.59.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250224

generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/classes.rb

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,74 @@ def update!(**args)
731731
end
732732
end
733733

734+
# Metadata for the BulkDeleteFeedbackLabels endpoint.
735+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata
736+
include Google::Apis::Core::Hashable
737+
738+
# Partial errors during deletion operation that might cause the operation output
739+
# to be incomplete.
740+
# Corresponds to the JSON property `partialErrors`
741+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
742+
attr_accessor :partial_errors
743+
744+
# Request for the BulkDeleteFeedbackLabels endpoint.
745+
# Corresponds to the JSON property `request`
746+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest]
747+
attr_accessor :request
748+
749+
def initialize(**args)
750+
update!(**args)
751+
end
752+
753+
# Update properties of this object
754+
def update!(**args)
755+
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
756+
@request = args[:request] if args.key?(:request)
757+
end
758+
end
759+
760+
# Request for the BulkDeleteFeedbackLabels endpoint.
761+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest
762+
include Google::Apis::Core::Hashable
763+
764+
# Optional. A filter to reduce results to a specific subset. Supports
765+
# disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id`
766+
# * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time`
767+
# * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI,
768+
# TOPIC_MODELING
769+
# Corresponds to the JSON property `filter`
770+
# @return [String]
771+
attr_accessor :filter
772+
773+
# Required. The parent resource for new feedback labels.
774+
# Corresponds to the JSON property `parent`
775+
# @return [String]
776+
attr_accessor :parent
777+
778+
def initialize(**args)
779+
update!(**args)
780+
end
781+
782+
# Update properties of this object
783+
def update!(**args)
784+
@filter = args[:filter] if args.key?(:filter)
785+
@parent = args[:parent] if args.key?(:parent)
786+
end
787+
end
788+
789+
# Response for the BulkDeleteFeedbackLabels endpoint.
790+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse
791+
include Google::Apis::Core::Hashable
792+
793+
def initialize(**args)
794+
update!(**args)
795+
end
796+
797+
# Update properties of this object
798+
def update!(**args)
799+
end
800+
end
801+
734802
# Metadata for the BulkDownloadFeedbackLabel endpoint.
735803
class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata
736804
include Google::Apis::Core::Hashable
@@ -6376,6 +6444,74 @@ def update!(**args)
63766444
end
63776445
end
63786446

6447+
# Metadata for the BulkDeleteFeedbackLabels endpoint.
6448+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata
6449+
include Google::Apis::Core::Hashable
6450+
6451+
# Partial errors during deletion operation that might cause the operation output
6452+
# to be incomplete.
6453+
# Corresponds to the JSON property `partialErrors`
6454+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
6455+
attr_accessor :partial_errors
6456+
6457+
# Request for the BulkDeleteFeedbackLabels endpoint.
6458+
# Corresponds to the JSON property `request`
6459+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest]
6460+
attr_accessor :request
6461+
6462+
def initialize(**args)
6463+
update!(**args)
6464+
end
6465+
6466+
# Update properties of this object
6467+
def update!(**args)
6468+
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
6469+
@request = args[:request] if args.key?(:request)
6470+
end
6471+
end
6472+
6473+
# Request for the BulkDeleteFeedbackLabels endpoint.
6474+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest
6475+
include Google::Apis::Core::Hashable
6476+
6477+
# Optional. A filter to reduce results to a specific subset. Supports
6478+
# disjunctions (OR) and conjunctions (AND). Supported fields: * `issue_model_id`
6479+
# * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time`
6480+
# * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI,
6481+
# TOPIC_MODELING
6482+
# Corresponds to the JSON property `filter`
6483+
# @return [String]
6484+
attr_accessor :filter
6485+
6486+
# Required. The parent resource for new feedback labels.
6487+
# Corresponds to the JSON property `parent`
6488+
# @return [String]
6489+
attr_accessor :parent
6490+
6491+
def initialize(**args)
6492+
update!(**args)
6493+
end
6494+
6495+
# Update properties of this object
6496+
def update!(**args)
6497+
@filter = args[:filter] if args.key?(:filter)
6498+
@parent = args[:parent] if args.key?(:parent)
6499+
end
6500+
end
6501+
6502+
# Response for the BulkDeleteFeedbackLabels endpoint.
6503+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse
6504+
include Google::Apis::Core::Hashable
6505+
6506+
def initialize(**args)
6507+
update!(**args)
6508+
end
6509+
6510+
# Update properties of this object
6511+
def update!(**args)
6512+
end
6513+
end
6514+
63796515
# A piece of metadata that applies to a window of a call.
63806516
class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
63816517
include Google::Apis::Core::Hashable

generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContactcenterinsightsV1
1818
# Version of the google-apis-contactcenterinsights_v1 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250224"
25+
REVISION = "20250311"
2626
end
2727
end
2828
end

generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/representations.rb

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124124
include Google::Apis::Core::JsonObjectSupport
125125
end
126126

127+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata
128+
class Representation < Google::Apis::Core::JsonRepresentation; end
129+
130+
include Google::Apis::Core::JsonObjectSupport
131+
end
132+
133+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest
134+
class Representation < Google::Apis::Core::JsonRepresentation; end
135+
136+
include Google::Apis::Core::JsonObjectSupport
137+
end
138+
139+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse
140+
class Representation < Google::Apis::Core::JsonRepresentation; end
141+
142+
include Google::Apis::Core::JsonObjectSupport
143+
end
144+
127145
class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata
128146
class Representation < Google::Apis::Core::JsonRepresentation; end
129147

@@ -1060,6 +1078,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10601078
include Google::Apis::Core::JsonObjectSupport
10611079
end
10621080

1081+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata
1082+
class Representation < Google::Apis::Core::JsonRepresentation; end
1083+
1084+
include Google::Apis::Core::JsonObjectSupport
1085+
end
1086+
1087+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest
1088+
class Representation < Google::Apis::Core::JsonRepresentation; end
1089+
1090+
include Google::Apis::Core::JsonObjectSupport
1091+
end
1092+
1093+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse
1094+
class Representation < Google::Apis::Core::JsonRepresentation; end
1095+
1096+
include Google::Apis::Core::JsonObjectSupport
1097+
end
1098+
10631099
class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
10641100
class Representation < Google::Apis::Core::JsonRepresentation; end
10651101

@@ -1891,6 +1927,30 @@ class Representation < Google::Apis::Core::JsonRepresentation
18911927
end
18921928
end
18931929

1930+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsMetadata
1931+
# @private
1932+
class Representation < Google::Apis::Core::JsonRepresentation
1933+
collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
1934+
1935+
property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest::Representation
1936+
1937+
end
1938+
end
1939+
1940+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest
1941+
# @private
1942+
class Representation < Google::Apis::Core::JsonRepresentation
1943+
property :filter, as: 'filter'
1944+
property :parent, as: 'parent'
1945+
end
1946+
end
1947+
1948+
class GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsResponse
1949+
# @private
1950+
class Representation < Google::Apis::Core::JsonRepresentation
1951+
end
1952+
end
1953+
18941954
class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsMetadata
18951955
# @private
18961956
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3516,6 +3576,30 @@ class Representation < Google::Apis::Core::JsonRepresentation
35163576
end
35173577
end
35183578

3579+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsMetadata
3580+
# @private
3581+
class Representation < Google::Apis::Core::JsonRepresentation
3582+
collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
3583+
3584+
property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest::Representation
3585+
3586+
end
3587+
end
3588+
3589+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsRequest
3590+
# @private
3591+
class Representation < Google::Apis::Core::JsonRepresentation
3592+
property :filter, as: 'filter'
3593+
property :parent, as: 'parent'
3594+
end
3595+
end
3596+
3597+
class GoogleCloudContactcenterinsightsV1alpha1BulkDeleteFeedbackLabelsResponse
3598+
# @private
3599+
class Representation < Google::Apis::Core::JsonRepresentation
3600+
end
3601+
end
3602+
35193603
class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
35203604
# @private
35213605
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-contactcenterinsights_v1/lib/google/apis/contactcenterinsights_v1/service.rb

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,39 @@ def initialize
5151
@batch_path = 'batch'
5252
end
5353

54+
# Delete feedback labels in bulk using a filter.
55+
# @param [String] parent
56+
# Required. The parent resource for new feedback labels.
57+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
58+
# @param [String] fields
59+
# Selector specifying which fields to include in a partial response.
60+
# @param [String] quota_user
61+
# Available to use for quota purposes for server-side applications. Can be any
62+
# arbitrary string assigned to a user, but should not exceed 40 characters.
63+
# @param [Google::Apis::RequestOptions] options
64+
# Request-specific options
65+
#
66+
# @yield [result, err] Result & error if block supplied
67+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
68+
# @yieldparam err [StandardError] error object if request failed
69+
#
70+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
71+
#
72+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74+
# @raise [Google::Apis::AuthorizationError] Authorization is required
75+
def bulk_project_location_delete_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
76+
command = make_simple_command(:post, 'v1/{+parent}:bulkDeleteFeedbackLabels', options)
77+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest::Representation
78+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
79+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
80+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
81+
command.params['parent'] = parent unless parent.nil?
82+
command.query['fields'] = fields unless fields.nil?
83+
command.query['quotaUser'] = quota_user unless quota_user.nil?
84+
execute_or_queue_command(command, &block)
85+
end
86+
5487
# Download feedback labels in bulk from an external source. Currently supports
5588
# exporting Quality AI example conversations with transcripts and question
5689
# bodies.

0 commit comments

Comments
 (0)