google-apis-contactcenterinsights_v1 0.54.0 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01662caff6612cf9c8fa9f5bec3cd9afa8a9ca090cef77232ebc6cd364643afe
4
- data.tar.gz: e5a9995f9dc11eaaa96c8a538eb3b8256e4580e966c5560c7342241dc3a8c063
3
+ metadata.gz: 13cf26fbb8f97b09f3e525cc9f17387a83fffcebfab93fba9477cc9b3616b80d
4
+ data.tar.gz: 87bd5addf7ed3b42bf1371d2c871fa52686842f5d86f34d34f8e4bec5eb1c92e
5
5
  SHA512:
6
- metadata.gz: 2e8e2c71e72a09ba2646c4cedfefd4908af67dad584c9913b30294f488d6139b2112122bc130a3f150559f3058768835af0d46517dc503004e66487461e03858
7
- data.tar.gz: 24d713989ac53cd02a40c42307b03f8ace1a9eb30b23ba5d1c4daedb1610a109606f8db989ba8b6af16929932665639b6c5de419f9106ab80af5e95cf6533fda
6
+ metadata.gz: ae423e259ca9156cd4cfbc166fabd2d2bc07f5c84d49932cc055bb3d4740af10e78f4e557fa2299ee7e4d9869cabc9694b9ddf6c1b1cd7cb0e41fab39a9e9e16
7
+ data.tar.gz: ce072e164a5e5d17920d19b977d07d6182a8d4c74c7701fdefd44b30d8da26de6e271357ac46e387c9f7acf15159e5b8ff6ff370e86fb501d92744fcf24b9c07
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.56.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241209
6
+
7
+ ### v0.55.0 (2024-12-08)
8
+
9
+ * Regenerated from discovery document revision 20241204
10
+
3
11
  ### v0.54.0 (2024-11-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20241119
@@ -1575,11 +1575,22 @@ module Google
1575
1575
  # @return [String]
1576
1576
  attr_accessor :disposition_code
1577
1577
 
1578
- # A user-specified string representing the agent's team.
1578
+ # The agent's location.
1579
+ # Corresponds to the JSON property `location`
1580
+ # @return [String]
1581
+ attr_accessor :location
1582
+
1583
+ # A user-specified string representing the agent's team. Deprecated in favor of
1584
+ # the `teams` field.
1579
1585
  # Corresponds to the JSON property `team`
1580
1586
  # @return [String]
1581
1587
  attr_accessor :team
1582
1588
 
1589
+ # User-specified strings representing the agent's teams.
1590
+ # Corresponds to the JSON property `teams`
1591
+ # @return [Array<String>]
1592
+ attr_accessor :teams
1593
+
1583
1594
  def initialize(**args)
1584
1595
  update!(**args)
1585
1596
  end
@@ -1590,7 +1601,9 @@ module Google
1590
1601
  @agent_type = args[:agent_type] if args.key?(:agent_type)
1591
1602
  @display_name = args[:display_name] if args.key?(:display_name)
1592
1603
  @disposition_code = args[:disposition_code] if args.key?(:disposition_code)
1604
+ @location = args[:location] if args.key?(:location)
1593
1605
  @team = args[:team] if args.key?(:team)
1606
+ @teams = args[:teams] if args.key?(:teams)
1594
1607
  end
1595
1608
  end
1596
1609
 
@@ -2857,12 +2870,18 @@ module Google
2857
2870
  class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
2858
2871
  include Google::Apis::Core::Hashable
2859
2872
 
2873
+ # The issue model resource.
2874
+ # Corresponds to the JSON property `issueModel`
2875
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel]
2876
+ attr_accessor :issue_model
2877
+
2860
2878
  def initialize(**args)
2861
2879
  update!(**args)
2862
2880
  end
2863
2881
 
2864
2882
  # Update properties of this object
2865
2883
  def update!(**args)
2884
+ @issue_model = args[:issue_model] if args.key?(:issue_model)
2866
2885
  end
2867
2886
  end
2868
2887
 
@@ -6701,11 +6720,22 @@ module Google
6701
6720
  # @return [String]
6702
6721
  attr_accessor :disposition_code
6703
6722
 
6704
- # A user-specified string representing the agent's team.
6723
+ # The agent's location.
6724
+ # Corresponds to the JSON property `location`
6725
+ # @return [String]
6726
+ attr_accessor :location
6727
+
6728
+ # A user-specified string representing the agent's team. Deprecated in favor of
6729
+ # the `teams` field.
6705
6730
  # Corresponds to the JSON property `team`
6706
6731
  # @return [String]
6707
6732
  attr_accessor :team
6708
6733
 
6734
+ # User-specified strings representing the agent's teams.
6735
+ # Corresponds to the JSON property `teams`
6736
+ # @return [Array<String>]
6737
+ attr_accessor :teams
6738
+
6709
6739
  def initialize(**args)
6710
6740
  update!(**args)
6711
6741
  end
@@ -6716,7 +6746,9 @@ module Google
6716
6746
  @agent_type = args[:agent_type] if args.key?(:agent_type)
6717
6747
  @display_name = args[:display_name] if args.key?(:display_name)
6718
6748
  @disposition_code = args[:disposition_code] if args.key?(:disposition_code)
6749
+ @location = args[:location] if args.key?(:location)
6719
6750
  @team = args[:team] if args.key?(:team)
6751
+ @teams = args[:teams] if args.key?(:teams)
6720
6752
  end
6721
6753
  end
6722
6754
 
@@ -7950,12 +7982,18 @@ module Google
7950
7982
  class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
7951
7983
  include Google::Apis::Core::Hashable
7952
7984
 
7985
+ # The issue model resource.
7986
+ # Corresponds to the JSON property `issueModel`
7987
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel]
7988
+ attr_accessor :issue_model
7989
+
7953
7990
  def initialize(**args)
7954
7991
  update!(**args)
7955
7992
  end
7956
7993
 
7957
7994
  # Update properties of this object
7958
7995
  def update!(**args)
7996
+ @issue_model = args[:issue_model] if args.key?(:issue_model)
7959
7997
  end
7960
7998
  end
7961
7999
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContactcenterinsightsV1
18
18
  # Version of the google-apis-contactcenterinsights_v1 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241119"
25
+ REVISION = "20241209"
26
26
  end
27
27
  end
28
28
  end
@@ -2100,7 +2100,9 @@ module Google
2100
2100
  property :agent_type, as: 'agentType'
2101
2101
  property :display_name, as: 'displayName'
2102
2102
  property :disposition_code, as: 'dispositionCode'
2103
+ property :location, as: 'location'
2103
2104
  property :team, as: 'team'
2105
+ collection :teams, as: 'teams'
2104
2106
  end
2105
2107
  end
2106
2108
 
@@ -2488,6 +2490,8 @@ module Google
2488
2490
  class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
2489
2491
  # @private
2490
2492
  class Representation < Google::Apis::Core::JsonRepresentation
2493
+ property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
2494
+
2491
2495
  end
2492
2496
  end
2493
2497
 
@@ -3584,7 +3588,9 @@ module Google
3584
3588
  property :agent_type, as: 'agentType'
3585
3589
  property :display_name, as: 'displayName'
3586
3590
  property :disposition_code, as: 'dispositionCode'
3591
+ property :location, as: 'location'
3587
3592
  property :team, as: 'team'
3593
+ collection :teams, as: 'teams'
3588
3594
  end
3589
3595
  end
3590
3596
 
@@ -3959,6 +3965,8 @@ module Google
3959
3965
  class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
3960
3966
  # @private
3961
3967
  class Representation < Google::Apis::Core::JsonRepresentation
3968
+ property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel::Representation
3969
+
3962
3970
  end
3963
3971
  end
3964
3972
 
@@ -469,12 +469,10 @@ module Google
469
469
  execute_or_queue_command(command, &block)
470
470
  end
471
471
 
472
- # Gets conversation statistics.
472
+ # Query metrics.
473
473
  # @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
478
476
  # @param [String] fields
479
477
  # Selector specifying which fields to include in a partial response.
480
478
  # @param [String] quota_user
@@ -484,29 +482,32 @@ module Google
484
482
  # Request-specific options
485
483
  #
486
484
  # @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
488
486
  # @yieldparam err [StandardError] error object if request failed
489
487
  #
490
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
488
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
491
489
  #
492
490
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
491
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
492
  # @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
499
499
  command.params['location'] = location unless location.nil?
500
- command.query['filter'] = filter unless filter.nil?
501
500
  command.query['fields'] = fields unless fields.nil?
502
501
  command.query['quotaUser'] = quota_user unless quota_user.nil?
503
502
  execute_or_queue_command(command, &block)
504
503
  end
505
504
 
506
- # Query metrics.
505
+ # Gets conversation statistics.
507
506
  # @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.
510
511
  # @param [String] fields
511
512
  # Selector specifying which fields to include in a partial response.
512
513
  # @param [String] quota_user
@@ -516,21 +517,20 @@ module Google
516
517
  # Request-specific options
517
518
  #
518
519
  # @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
520
521
  # @yieldparam err [StandardError] error object if request failed
521
522
  #
522
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
523
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
523
524
  #
524
525
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
525
526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
526
527
  # @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
533
532
  command.params['location'] = location unless location.nil?
533
+ command.query['filter'] = filter unless filter.nil?
534
534
  command.query['fields'] = fields unless fields.nil?
535
535
  command.query['quotaUser'] = quota_user unless quota_user.nil?
536
536
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contactcenterinsights_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Contact Center AI Insights API V1