Skip to content

Commit d4bb586

Browse files
feat: Automated regeneration of contactcenterinsights v1 client (googleapis#21071)
Auto-created at 2024-12-15 10:35:09 +0000 using the toys pull request generator.
1 parent 438252a commit d4bb586

File tree

6 files changed

+53
-25
lines changed

6 files changed

+53
-25
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118224,6 +118224,7 @@
118224118224
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource": google_cloud_contactcenterinsights_v1_import_issue_model_request_gcs_source
118225118225
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource/objectUri": object_uri
118226118226
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ImportIssueModelResponse": google_cloud_contactcenterinsights_v1_import_issue_model_response
118227+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1ImportIssueModelResponse/issueModel": issue_model
118227118228
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1IngestConversationsMetadata": google_cloud_contactcenterinsights_v1_ingest_conversations_metadata
118228118229
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1IngestConversationsMetadata/createTime": create_time
118229118230
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1IngestConversationsMetadata/endTime": end_time
@@ -119041,6 +119042,7 @@
119041119042
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource": google_cloud_contactcenterinsights_v1alpha1_import_issue_model_request_gcs_source
119042119043
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource/objectUri": object_uri
119043119044
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse": google_cloud_contactcenterinsights_v1alpha1_import_issue_model_response
119045+
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse/issueModel": issue_model
119044119046
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata": google_cloud_contactcenterinsights_v1alpha1_ingest_conversations_metadata
119045119047
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata/createTime": create_time
119046119048
"/contactcenterinsights:v1/GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata/endTime": end_time
@@ -119441,6 +119443,12 @@
119441119443
: page_token
119442119444
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.analyses.list/parent"
119443119445
: parent
119446+
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats"
119447+
: calculate_project_location_authorized_view_set_authorized_view_conversation_stats
119448+
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats/filter"
119449+
: filter
119450+
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats/location"
119451+
: location
119444119452
"/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.create": create_project_location_authorized_view_set_authorized_view_conversation
119445119453
? "/contactcenterinsights:v1/contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.create/conversationId"
119446119454
: conversation_id

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.56.0 (2024-12-15)
4+
5+
* Regenerated from discovery document revision 20241209
6+
37
### v0.55.0 (2024-12-08)
48

59
* Regenerated from discovery document revision 20241204

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,12 +2870,18 @@ def update!(**args)
28702870
class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
28712871
include Google::Apis::Core::Hashable
28722872

2873+
# The issue model resource.
2874+
# Corresponds to the JSON property `issueModel`
2875+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel]
2876+
attr_accessor :issue_model
2877+
28732878
def initialize(**args)
28742879
update!(**args)
28752880
end
28762881

28772882
# Update properties of this object
28782883
def update!(**args)
2884+
@issue_model = args[:issue_model] if args.key?(:issue_model)
28792885
end
28802886
end
28812887

@@ -7976,12 +7982,18 @@ def update!(**args)
79767982
class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
79777983
include Google::Apis::Core::Hashable
79787984

7985+
# The issue model resource.
7986+
# Corresponds to the JSON property `issueModel`
7987+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel]
7988+
attr_accessor :issue_model
7989+
79797990
def initialize(**args)
79807991
update!(**args)
79817992
end
79827993

79837994
# Update properties of this object
79847995
def update!(**args)
7996+
@issue_model = args[:issue_model] if args.key?(:issue_model)
79857997
end
79867998
end
79877999

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.55.0"
19+
GEM_VERSION = "0.56.0"
2020

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

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,6 +2490,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
24902490
class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
24912491
# @private
24922492
class Representation < Google::Apis::Core::JsonRepresentation
2493+
property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
2494+
24932495
end
24942496
end
24952497

@@ -3963,6 +3965,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
39633965
class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
39643966
# @private
39653967
class Representation < Google::Apis::Core::JsonRepresentation
3968+
property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel::Representation
3969+
39663970
end
39673971
end
39683972

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,10 @@ def patch_project_location_analysis_rule(name, google_cloud_contactcenterinsight
469469
execute_or_queue_command(command, &block)
470470
end
471471

472-
# Gets conversation statistics.
472+
# Query metrics.
473473
# @param [String] location
474-
# Required. The location of the conversations.
475-
# @param [String] filter
476-
# A filter to reduce results to a specific subset. This field is useful for
477-
# getting statistics about conversations with specific properties.
474+
# Required. The location of the data. "projects/`project`/locations/`location`"
475+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
478476
# @param [String] fields
479477
# Selector specifying which fields to include in a partial response.
480478
# @param [String] quota_user
@@ -484,29 +482,32 @@ def patch_project_location_analysis_rule(name, google_cloud_contactcenterinsight
484482
# Request-specific options
485483
#
486484
# @yield [result, err] Result & error if block supplied
487-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
485+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
488486
# @yieldparam err [StandardError] error object if request failed
489487
#
490-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
488+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
491489
#
492490
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493491
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494492
# @raise [Google::Apis::AuthorizationError] Authorization is required
495-
def calculate_project_location_authorized_view_set_authorized_view_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
496-
command = make_simple_command(:get, 'v1/{+location}:calculateStats', options)
497-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
498-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
493+
def query_project_location_authorized_view_set_authorized_view_metrics(location, google_cloud_contactcenterinsights_v1_query_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
494+
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
495+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
496+
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
497+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
498+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
499499
command.params['location'] = location unless location.nil?
500-
command.query['filter'] = filter unless filter.nil?
501500
command.query['fields'] = fields unless fields.nil?
502501
command.query['quotaUser'] = quota_user unless quota_user.nil?
503502
execute_or_queue_command(command, &block)
504503
end
505504

506-
# Query metrics.
505+
# Gets conversation statistics.
507506
# @param [String] location
508-
# Required. The location of the data. "projects/`project`/locations/`location`"
509-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
507+
# Required. The location of the conversations.
508+
# @param [String] filter
509+
# A filter to reduce results to a specific subset. This field is useful for
510+
# getting statistics about conversations with specific properties.
510511
# @param [String] fields
511512
# Selector specifying which fields to include in a partial response.
512513
# @param [String] quota_user
@@ -516,21 +517,20 @@ def calculate_project_location_authorized_view_set_authorized_view_stats(locatio
516517
# Request-specific options
517518
#
518519
# @yield [result, err] Result & error if block supplied
519-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
520+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
520521
# @yieldparam err [StandardError] error object if request failed
521522
#
522-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
523+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
523524
#
524525
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
525526
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
526527
# @raise [Google::Apis::AuthorizationError] Authorization is required
527-
def query_project_location_authorized_view_set_authorized_view_metrics(location, google_cloud_contactcenterinsights_v1_query_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
528-
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
529-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
530-
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
531-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
532-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
528+
def calculate_project_location_authorized_view_set_authorized_view_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
529+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
530+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
531+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
533532
command.params['location'] = location unless location.nil?
533+
command.query['filter'] = filter unless filter.nil?
534534
command.query['fields'] = fields unless fields.nil?
535535
command.query['quotaUser'] = quota_user unless quota_user.nil?
536536
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)