google-apis-contactcenterinsights_v1 0.55.0 → 0.57.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: 223ebd687fc04785c39aff6a9889c9e86dedac67febb50bf96ac793356cbbd6e
4
- data.tar.gz: 2335cbd3a250540c381e56ea751529841fef6234f5feb38fec734db2b36c4f52
3
+ metadata.gz: 9d97df9a3b1daaae571188865bf2721d0e6e50835147c0ed9015cb2cf502a61a
4
+ data.tar.gz: e30d0b8809679600c5fddbcbd01946397520ca99e5384f59d679dbafb14a994d
5
5
  SHA512:
6
- metadata.gz: 8b12d501ffa867c7819a6bff0f5b6c330d8ff765e7cbae03d2ba1d6f643f26f520fa92e9eacbec1b5d96a5d6205870252cb9d03a1263c7a1f30fa0d013bdd17a
7
- data.tar.gz: 7e32135bc102b7af090cd21010797fba7ef50da422ab1be51c0187c49deaece00aa0c80c182455f5eb812e3902a3d591c279b226e86d7b499d56f06505b0dbc5
6
+ metadata.gz: e61d98688e85ff0326e95e04db75fbfbda9b8ba74f3fc8c6214fe954dfc4b3eb98806828728d3d235eb494c6e302bff961f1a175c871ac3235bf07c95c3ee0b5
7
+ data.tar.gz: f757a0d563b127edaf9d5d32e5421a982156b39b72902d1cea4317d7ee868ffe334e44398231718b499c0a8fd84ceb98a0642f82b494f45f158ba4fb3b87853b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.57.0 (2024-12-22)
4
+
5
+ * Regenerated from discovery document revision 20241218
6
+
7
+ ### v0.56.0 (2024-12-15)
8
+
9
+ * Regenerated from discovery document revision 20241209
10
+
3
11
  ### v0.55.0 (2024-12-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20241204
@@ -1850,6 +1850,37 @@ module Google
1850
1850
  end
1851
1851
  end
1852
1852
 
1853
+ # Metadata for creating an issue.
1854
+ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata
1855
+ include Google::Apis::Core::Hashable
1856
+
1857
+ # Output only. The time the operation was created.
1858
+ # Corresponds to the JSON property `createTime`
1859
+ # @return [String]
1860
+ attr_accessor :create_time
1861
+
1862
+ # Output only. The time the operation finished running.
1863
+ # Corresponds to the JSON property `endTime`
1864
+ # @return [String]
1865
+ attr_accessor :end_time
1866
+
1867
+ # The request to create an issue.
1868
+ # Corresponds to the JSON property `request`
1869
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueRequest]
1870
+ attr_accessor :request
1871
+
1872
+ def initialize(**args)
1873
+ update!(**args)
1874
+ end
1875
+
1876
+ # Update properties of this object
1877
+ def update!(**args)
1878
+ @create_time = args[:create_time] if args.key?(:create_time)
1879
+ @end_time = args[:end_time] if args.key?(:end_time)
1880
+ @request = args[:request] if args.key?(:request)
1881
+ end
1882
+ end
1883
+
1853
1884
  # Metadata for creating an issue model.
1854
1885
  class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata
1855
1886
  include Google::Apis::Core::Hashable
@@ -1906,6 +1937,31 @@ module Google
1906
1937
  end
1907
1938
  end
1908
1939
 
1940
+ # The request to create an issue.
1941
+ class GoogleCloudContactcenterinsightsV1CreateIssueRequest
1942
+ include Google::Apis::Core::Hashable
1943
+
1944
+ # The issue resource.
1945
+ # Corresponds to the JSON property `issue`
1946
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue]
1947
+ attr_accessor :issue
1948
+
1949
+ # Required. The parent resource of the issue.
1950
+ # Corresponds to the JSON property `parent`
1951
+ # @return [String]
1952
+ attr_accessor :parent
1953
+
1954
+ def initialize(**args)
1955
+ update!(**args)
1956
+ end
1957
+
1958
+ # Update properties of this object
1959
+ def update!(**args)
1960
+ @issue = args[:issue] if args.key?(:issue)
1961
+ @parent = args[:parent] if args.key?(:parent)
1962
+ end
1963
+ end
1964
+
1909
1965
  # Metadata for deleting an issue model.
1910
1966
  class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
1911
1967
  include Google::Apis::Core::Hashable
@@ -2870,12 +2926,18 @@ module Google
2870
2926
  class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
2871
2927
  include Google::Apis::Core::Hashable
2872
2928
 
2929
+ # The issue model resource.
2930
+ # Corresponds to the JSON property `issueModel`
2931
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel]
2932
+ attr_accessor :issue_model
2933
+
2873
2934
  def initialize(**args)
2874
2935
  update!(**args)
2875
2936
  end
2876
2937
 
2877
2938
  # Update properties of this object
2878
2939
  def update!(**args)
2940
+ @issue_model = args[:issue_model] if args.key?(:issue_model)
2879
2941
  end
2880
2942
  end
2881
2943
 
@@ -6989,6 +7051,37 @@ module Google
6989
7051
  end
6990
7052
  end
6991
7053
 
7054
+ # Metadata for creating an issue.
7055
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata
7056
+ include Google::Apis::Core::Hashable
7057
+
7058
+ # Output only. The time the operation was created.
7059
+ # Corresponds to the JSON property `createTime`
7060
+ # @return [String]
7061
+ attr_accessor :create_time
7062
+
7063
+ # Output only. The time the operation finished running.
7064
+ # Corresponds to the JSON property `endTime`
7065
+ # @return [String]
7066
+ attr_accessor :end_time
7067
+
7068
+ # The request to create an issue.
7069
+ # Corresponds to the JSON property `request`
7070
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest]
7071
+ attr_accessor :request
7072
+
7073
+ def initialize(**args)
7074
+ update!(**args)
7075
+ end
7076
+
7077
+ # Update properties of this object
7078
+ def update!(**args)
7079
+ @create_time = args[:create_time] if args.key?(:create_time)
7080
+ @end_time = args[:end_time] if args.key?(:end_time)
7081
+ @request = args[:request] if args.key?(:request)
7082
+ end
7083
+ end
7084
+
6992
7085
  # Metadata for creating an issue model.
6993
7086
  class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata
6994
7087
  include Google::Apis::Core::Hashable
@@ -7045,6 +7138,31 @@ module Google
7045
7138
  end
7046
7139
  end
7047
7140
 
7141
+ # The request to create an issue.
7142
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
7143
+ include Google::Apis::Core::Hashable
7144
+
7145
+ # The issue resource.
7146
+ # Corresponds to the JSON property `issue`
7147
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Issue]
7148
+ attr_accessor :issue
7149
+
7150
+ # Required. The parent resource of the issue.
7151
+ # Corresponds to the JSON property `parent`
7152
+ # @return [String]
7153
+ attr_accessor :parent
7154
+
7155
+ def initialize(**args)
7156
+ update!(**args)
7157
+ end
7158
+
7159
+ # Update properties of this object
7160
+ def update!(**args)
7161
+ @issue = args[:issue] if args.key?(:issue)
7162
+ @parent = args[:parent] if args.key?(:parent)
7163
+ end
7164
+ end
7165
+
7048
7166
  # Metadata for deleting an issue model.
7049
7167
  class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
7050
7168
  include Google::Apis::Core::Hashable
@@ -7976,12 +8094,18 @@ module Google
7976
8094
  class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
7977
8095
  include Google::Apis::Core::Hashable
7978
8096
 
8097
+ # The issue model resource.
8098
+ # Corresponds to the JSON property `issueModel`
8099
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel]
8100
+ attr_accessor :issue_model
8101
+
7979
8102
  def initialize(**args)
7980
8103
  update!(**args)
7981
8104
  end
7982
8105
 
7983
8106
  # Update properties of this object
7984
8107
  def update!(**args)
8108
+ @issue_model = args[:issue_model] if args.key?(:issue_model)
7985
8109
  end
7986
8110
  end
7987
8111
 
@@ -8379,6 +8503,57 @@ module Google
8379
8503
  end
8380
8504
  end
8381
8505
 
8506
+ # The issue resource.
8507
+ class GoogleCloudContactcenterinsightsV1alpha1Issue
8508
+ include Google::Apis::Core::Hashable
8509
+
8510
+ # Output only. The time at which this issue was created.
8511
+ # Corresponds to the JSON property `createTime`
8512
+ # @return [String]
8513
+ attr_accessor :create_time
8514
+
8515
+ # Representative description of the issue.
8516
+ # Corresponds to the JSON property `displayDescription`
8517
+ # @return [String]
8518
+ attr_accessor :display_description
8519
+
8520
+ # The representative name for the issue.
8521
+ # Corresponds to the JSON property `displayName`
8522
+ # @return [String]
8523
+ attr_accessor :display_name
8524
+
8525
+ # Immutable. The resource name of the issue. Format: projects/`project`/
8526
+ # locations/`location`/issueModels/`issue_model`/issues/`issue`
8527
+ # Corresponds to the JSON property `name`
8528
+ # @return [String]
8529
+ attr_accessor :name
8530
+
8531
+ # Output only. Resource names of the sample representative utterances that match
8532
+ # to this issue.
8533
+ # Corresponds to the JSON property `sampleUtterances`
8534
+ # @return [Array<String>]
8535
+ attr_accessor :sample_utterances
8536
+
8537
+ # Output only. The most recent time that this issue was updated.
8538
+ # Corresponds to the JSON property `updateTime`
8539
+ # @return [String]
8540
+ attr_accessor :update_time
8541
+
8542
+ def initialize(**args)
8543
+ update!(**args)
8544
+ end
8545
+
8546
+ # Update properties of this object
8547
+ def update!(**args)
8548
+ @create_time = args[:create_time] if args.key?(:create_time)
8549
+ @display_description = args[:display_description] if args.key?(:display_description)
8550
+ @display_name = args[:display_name] if args.key?(:display_name)
8551
+ @name = args[:name] if args.key?(:name)
8552
+ @sample_utterances = args[:sample_utterances] if args.key?(:sample_utterances)
8553
+ @update_time = args[:update_time] if args.key?(:update_time)
8554
+ end
8555
+ end
8556
+
8382
8557
  # Information about the issue.
8383
8558
  class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
8384
8559
  include Google::Apis::Core::Hashable
@@ -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.55.0"
19
+ GEM_VERSION = "0.57.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 = "20241204"
25
+ REVISION = "20241218"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -292,6 +298,12 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
301
+ class GoogleCloudContactcenterinsightsV1CreateIssueRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -1138,6 +1150,12 @@ module Google
1138
1150
  include Google::Apis::Core::JsonObjectSupport
1139
1151
  end
1140
1152
 
1153
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1141
1159
  class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata
1142
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1143
1161
 
@@ -1150,6 +1168,12 @@ module Google
1150
1168
  include Google::Apis::Core::JsonObjectSupport
1151
1169
  end
1152
1170
 
1171
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1153
1177
  class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
1154
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1155
1179
 
@@ -1420,6 +1444,12 @@ module Google
1420
1444
  include Google::Apis::Core::JsonObjectSupport
1421
1445
  end
1422
1446
 
1447
+ class GoogleCloudContactcenterinsightsV1alpha1Issue
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1423
1453
  class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
1424
1454
  class Representation < Google::Apis::Core::JsonRepresentation; end
1425
1455
 
@@ -2173,6 +2203,16 @@ module Google
2173
2203
  end
2174
2204
  end
2175
2205
 
2206
+ class GoogleCloudContactcenterinsightsV1CreateIssueMetadata
2207
+ # @private
2208
+ class Representation < Google::Apis::Core::JsonRepresentation
2209
+ property :create_time, as: 'createTime'
2210
+ property :end_time, as: 'endTime'
2211
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CreateIssueRequest::Representation
2212
+
2213
+ end
2214
+ end
2215
+
2176
2216
  class GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata
2177
2217
  # @private
2178
2218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2192,6 +2232,15 @@ module Google
2192
2232
  end
2193
2233
  end
2194
2234
 
2235
+ class GoogleCloudContactcenterinsightsV1CreateIssueRequest
2236
+ # @private
2237
+ class Representation < Google::Apis::Core::JsonRepresentation
2238
+ property :issue, as: 'issue', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
2239
+
2240
+ property :parent, as: 'parent'
2241
+ end
2242
+ end
2243
+
2195
2244
  class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
2196
2245
  # @private
2197
2246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2490,6 +2539,8 @@ module Google
2490
2539
  class GoogleCloudContactcenterinsightsV1ImportIssueModelResponse
2491
2540
  # @private
2492
2541
  class Representation < Google::Apis::Core::JsonRepresentation
2542
+ property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
2543
+
2493
2544
  end
2494
2545
  end
2495
2546
 
@@ -3659,6 +3710,16 @@ module Google
3659
3710
  end
3660
3711
  end
3661
3712
 
3713
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata
3714
+ # @private
3715
+ class Representation < Google::Apis::Core::JsonRepresentation
3716
+ property :create_time, as: 'createTime'
3717
+ property :end_time, as: 'endTime'
3718
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest::Representation
3719
+
3720
+ end
3721
+ end
3722
+
3662
3723
  class GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata
3663
3724
  # @private
3664
3725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3678,6 +3739,15 @@ module Google
3678
3739
  end
3679
3740
  end
3680
3741
 
3742
+ class GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest
3743
+ # @private
3744
+ class Representation < Google::Apis::Core::JsonRepresentation
3745
+ property :issue, as: 'issue', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Issue, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Issue::Representation
3746
+
3747
+ property :parent, as: 'parent'
3748
+ end
3749
+ end
3750
+
3681
3751
  class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
3682
3752
  # @private
3683
3753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3963,6 +4033,8 @@ module Google
3963
4033
  class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse
3964
4034
  # @private
3965
4035
  class Representation < Google::Apis::Core::JsonRepresentation
4036
+ property :issue_model, as: 'issueModel', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModel::Representation
4037
+
3966
4038
  end
3967
4039
  end
3968
4040
 
@@ -4087,6 +4159,18 @@ module Google
4087
4159
  end
4088
4160
  end
4089
4161
 
4162
+ class GoogleCloudContactcenterinsightsV1alpha1Issue
4163
+ # @private
4164
+ class Representation < Google::Apis::Core::JsonRepresentation
4165
+ property :create_time, as: 'createTime'
4166
+ property :display_description, as: 'displayDescription'
4167
+ property :display_name, as: 'displayName'
4168
+ property :name, as: 'name'
4169
+ collection :sample_utterances, as: 'sampleUtterances'
4170
+ property :update_time, as: 'updateTime'
4171
+ end
4172
+ end
4173
+
4090
4174
  class GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
4091
4175
  # @private
4092
4176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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)
@@ -1627,6 +1627,39 @@ module Google
1627
1627
  execute_or_queue_command(command, &block)
1628
1628
  end
1629
1629
 
1630
+ # Creates an issue.
1631
+ # @param [String] parent
1632
+ # Required. The parent resource of the issue.
1633
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue] google_cloud_contactcenterinsights_v1_issue_object
1634
+ # @param [String] fields
1635
+ # Selector specifying which fields to include in a partial response.
1636
+ # @param [String] quota_user
1637
+ # Available to use for quota purposes for server-side applications. Can be any
1638
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1639
+ # @param [Google::Apis::RequestOptions] options
1640
+ # Request-specific options
1641
+ #
1642
+ # @yield [result, err] Result & error if block supplied
1643
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
1644
+ # @yieldparam err [StandardError] error object if request failed
1645
+ #
1646
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
1647
+ #
1648
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1649
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1650
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1651
+ def create_project_location_issue_model_issue(parent, google_cloud_contactcenterinsights_v1_issue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1652
+ command = make_simple_command(:post, 'v1/{+parent}/issues', options)
1653
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
1654
+ command.request_object = google_cloud_contactcenterinsights_v1_issue_object
1655
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
1656
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
1657
+ command.params['parent'] = parent unless parent.nil?
1658
+ command.query['fields'] = fields unless fields.nil?
1659
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1660
+ execute_or_queue_command(command, &block)
1661
+ end
1662
+
1630
1663
  # Deletes an issue.
1631
1664
  # @param [String] name
1632
1665
  # Required. The name of the issue to delete.
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.55.0
4
+ version: 0.57.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-08 00:00:00.000000000 Z
11
+ date: 2025-01-05 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.57.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: []