google-apis-contactcenterinsights_v1 0.17.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221108"
25
+ REVISION = "20221219"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class GoogleCloudContactcenterinsightsV1AnnotatorSelector
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class GoogleCloudContactcenterinsightsV1AnswerFeedback
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -58,6 +64,24 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
61
85
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
@@ -268,6 +292,42 @@ module Google
268
292
  include Google::Apis::Core::JsonObjectSupport
269
293
  end
270
294
 
295
+ class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudContactcenterinsightsV1IngestConversationsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
271
331
  class GoogleCloudContactcenterinsightsV1Intent
272
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
333
 
@@ -466,6 +526,30 @@ module Google
466
526
  include Google::Apis::Core::JsonObjectSupport
467
527
  end
468
528
 
529
+ class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
469
553
  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
470
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
555
 
@@ -538,6 +622,42 @@ module Google
538
622
  include Google::Apis::Core::JsonObjectSupport
539
623
  end
540
624
 
625
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
541
661
  class GoogleCloudContactcenterinsightsV1alpha1IssueModel
542
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
663
 
@@ -609,6 +729,8 @@ module Google
609
729
  class Representation < Google::Apis::Core::JsonRepresentation
610
730
  property :analysis_result, as: 'analysisResult', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisResult, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisResult::Representation
611
731
 
732
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector::Representation
733
+
612
734
  property :create_time, as: 'createTime'
613
735
  property :name, as: 'name'
614
736
  property :request_time, as: 'requestTime'
@@ -650,6 +772,21 @@ module Google
650
772
  end
651
773
  end
652
774
 
775
+ class GoogleCloudContactcenterinsightsV1AnnotatorSelector
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ collection :issue_models, as: 'issueModels'
779
+ collection :phrase_matchers, as: 'phraseMatchers'
780
+ property :run_entity_annotator, as: 'runEntityAnnotator'
781
+ property :run_intent_annotator, as: 'runIntentAnnotator'
782
+ property :run_interruption_annotator, as: 'runInterruptionAnnotator'
783
+ property :run_issue_model_annotator, as: 'runIssueModelAnnotator'
784
+ property :run_phrase_matcher_annotator, as: 'runPhraseMatcherAnnotator'
785
+ property :run_sentiment_annotator, as: 'runSentimentAnnotator'
786
+ property :run_silence_annotator, as: 'runSilenceAnnotator'
787
+ end
788
+ end
789
+
653
790
  class GoogleCloudContactcenterinsightsV1AnswerFeedback
654
791
  # @private
655
792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -671,6 +808,38 @@ module Google
671
808
  end
672
809
  end
673
810
 
811
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :completed_analyses_count, as: 'completedAnalysesCount'
815
+ property :create_time, as: 'createTime'
816
+ property :end_time, as: 'endTime'
817
+ property :failed_analyses_count, as: 'failedAnalysesCount'
818
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
819
+
820
+ property :total_requested_analyses_count, as: 'totalRequestedAnalysesCount'
821
+ end
822
+ end
823
+
824
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :analysis_percentage, as: 'analysisPercentage'
828
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector::Representation
829
+
830
+ property :filter, as: 'filter'
831
+ property :parent, as: 'parent'
832
+ end
833
+ end
834
+
835
+ class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :failed_analysis_count, as: 'failedAnalysisCount'
839
+ property :successful_analysis_count, as: 'successfulAnalysisCount'
840
+ end
841
+ end
842
+
674
843
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
675
844
  # @private
676
845
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -855,6 +1024,8 @@ module Google
855
1024
  class GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata
856
1025
  # @private
857
1026
  class Representation < Google::Apis::Core::JsonRepresentation
1027
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector::Representation
1028
+
858
1029
  property :conversation, as: 'conversation'
859
1030
  property :create_time, as: 'createTime'
860
1031
  property :end_time, as: 'endTime'
@@ -1037,6 +1208,58 @@ module Google
1037
1208
  end
1038
1209
  end
1039
1210
 
1211
+ class GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :create_time, as: 'createTime'
1215
+ property :end_time, as: 'endTime'
1216
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
1217
+
1218
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
1219
+
1220
+ end
1221
+ end
1222
+
1223
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequest
1224
+ # @private
1225
+ class Representation < Google::Apis::Core::JsonRepresentation
1226
+ property :conversation_config, as: 'conversationConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig::Representation
1227
+
1228
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource::Representation
1229
+
1230
+ property :parent, as: 'parent'
1231
+ property :transcript_object_config, as: 'transcriptObjectConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig::Representation
1232
+
1233
+ end
1234
+ end
1235
+
1236
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :agent_id, as: 'agentId'
1240
+ end
1241
+ end
1242
+
1243
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
1244
+ # @private
1245
+ class Representation < Google::Apis::Core::JsonRepresentation
1246
+ property :bucket_uri, as: 'bucketUri'
1247
+ end
1248
+ end
1249
+
1250
+ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig
1251
+ # @private
1252
+ class Representation < Google::Apis::Core::JsonRepresentation
1253
+ property :medium, as: 'medium'
1254
+ end
1255
+ end
1256
+
1257
+ class GoogleCloudContactcenterinsightsV1IngestConversationsResponse
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ end
1261
+ end
1262
+
1040
1263
  class GoogleCloudContactcenterinsightsV1Intent
1041
1264
  # @private
1042
1265
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1064,6 +1287,7 @@ module Google
1064
1287
  property :create_time, as: 'createTime'
1065
1288
  property :display_name, as: 'displayName'
1066
1289
  property :name, as: 'name'
1290
+ collection :sample_utterances, as: 'sampleUtterances'
1067
1291
  property :update_time, as: 'updateTime'
1068
1292
  end
1069
1293
  end
@@ -1092,6 +1316,7 @@ module Google
1092
1316
  property :display_name, as: 'displayName'
1093
1317
  property :input_data_config, as: 'inputDataConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig::Representation
1094
1318
 
1319
+ property :issue_count, :numeric_string => true, as: 'issueCount'
1095
1320
  property :name, as: 'name'
1096
1321
  property :state, as: 'state'
1097
1322
  property :training_stats, as: 'trainingStats', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStats, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModelLabelStats::Representation
@@ -1291,6 +1516,8 @@ module Google
1291
1516
  class GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig
1292
1517
  # @private
1293
1518
  class Representation < Google::Apis::Core::JsonRepresentation
1519
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotatorSelector::Representation
1520
+
1294
1521
  property :runtime_integration_analysis_percentage, as: 'runtimeIntegrationAnalysisPercentage'
1295
1522
  end
1296
1523
  end
@@ -1355,9 +1582,58 @@ module Google
1355
1582
  end
1356
1583
  end
1357
1584
 
1585
+ class GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector
1586
+ # @private
1587
+ class Representation < Google::Apis::Core::JsonRepresentation
1588
+ collection :issue_models, as: 'issueModels'
1589
+ collection :phrase_matchers, as: 'phraseMatchers'
1590
+ property :run_entity_annotator, as: 'runEntityAnnotator'
1591
+ property :run_intent_annotator, as: 'runIntentAnnotator'
1592
+ property :run_interruption_annotator, as: 'runInterruptionAnnotator'
1593
+ property :run_issue_model_annotator, as: 'runIssueModelAnnotator'
1594
+ property :run_phrase_matcher_annotator, as: 'runPhraseMatcherAnnotator'
1595
+ property :run_sentiment_annotator, as: 'runSentimentAnnotator'
1596
+ property :run_silence_annotator, as: 'runSilenceAnnotator'
1597
+ end
1598
+ end
1599
+
1600
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ property :completed_analyses_count, as: 'completedAnalysesCount'
1604
+ property :create_time, as: 'createTime'
1605
+ property :end_time, as: 'endTime'
1606
+ property :failed_analyses_count, as: 'failedAnalysesCount'
1607
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest::Representation
1608
+
1609
+ property :total_requested_analyses_count, as: 'totalRequestedAnalysesCount'
1610
+ end
1611
+ end
1612
+
1613
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest
1614
+ # @private
1615
+ class Representation < Google::Apis::Core::JsonRepresentation
1616
+ property :analysis_percentage, as: 'analysisPercentage'
1617
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector::Representation
1618
+
1619
+ property :filter, as: 'filter'
1620
+ property :parent, as: 'parent'
1621
+ end
1622
+ end
1623
+
1624
+ class GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse
1625
+ # @private
1626
+ class Representation < Google::Apis::Core::JsonRepresentation
1627
+ property :failed_analysis_count, as: 'failedAnalysisCount'
1628
+ property :successful_analysis_count, as: 'successfulAnalysisCount'
1629
+ end
1630
+ end
1631
+
1358
1632
  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
1359
1633
  # @private
1360
1634
  class Representation < Google::Apis::Core::JsonRepresentation
1635
+ property :annotator_selector, as: 'annotatorSelector', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector::Representation
1636
+
1361
1637
  property :conversation, as: 'conversation'
1362
1638
  property :create_time, as: 'createTime'
1363
1639
  property :end_time, as: 'endTime'
@@ -1462,6 +1738,58 @@ module Google
1462
1738
  end
1463
1739
  end
1464
1740
 
1741
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
1742
+ # @private
1743
+ class Representation < Google::Apis::Core::JsonRepresentation
1744
+ property :create_time, as: 'createTime'
1745
+ property :end_time, as: 'endTime'
1746
+ collection :partial_errors, as: 'partialErrors', class: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus, decorator: Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus::Representation
1747
+
1748
+ property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest::Representation
1749
+
1750
+ end
1751
+ end
1752
+
1753
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest
1754
+ # @private
1755
+ class Representation < Google::Apis::Core::JsonRepresentation
1756
+ property :conversation_config, as: 'conversationConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig::Representation
1757
+
1758
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource::Representation
1759
+
1760
+ property :parent, as: 'parent'
1761
+ property :transcript_object_config, as: 'transcriptObjectConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig::Representation
1762
+
1763
+ end
1764
+ end
1765
+
1766
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
1767
+ # @private
1768
+ class Representation < Google::Apis::Core::JsonRepresentation
1769
+ property :agent_id, as: 'agentId'
1770
+ end
1771
+ end
1772
+
1773
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
1774
+ # @private
1775
+ class Representation < Google::Apis::Core::JsonRepresentation
1776
+ property :bucket_uri, as: 'bucketUri'
1777
+ end
1778
+ end
1779
+
1780
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig
1781
+ # @private
1782
+ class Representation < Google::Apis::Core::JsonRepresentation
1783
+ property :medium, as: 'medium'
1784
+ end
1785
+ end
1786
+
1787
+ class GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse
1788
+ # @private
1789
+ class Representation < Google::Apis::Core::JsonRepresentation
1790
+ end
1791
+ end
1792
+
1465
1793
  class GoogleCloudContactcenterinsightsV1alpha1IssueModel
1466
1794
  # @private
1467
1795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1469,6 +1797,7 @@ module Google
1469
1797
  property :display_name, as: 'displayName'
1470
1798
  property :input_data_config, as: 'inputDataConfig', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig::Representation
1471
1799
 
1800
+ property :issue_count, :numeric_string => true, as: 'issueCount'
1472
1801
  property :name, as: 'name'
1473
1802
  property :state, as: 'state'
1474
1803
  property :training_stats, as: 'trainingStats', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats::Representation
@@ -116,6 +116,39 @@ module Google
116
116
  execute_or_queue_command(command, &block)
117
117
  end
118
118
 
119
+ # Analyzes multiple conversations in a single request.
120
+ # @param [String] parent
121
+ # Required. The parent resource to create analyses in.
122
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
123
+ # @param [String] fields
124
+ # Selector specifying which fields to include in a partial response.
125
+ # @param [String] quota_user
126
+ # Available to use for quota purposes for server-side applications. Can be any
127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
128
+ # @param [Google::Apis::RequestOptions] options
129
+ # Request-specific options
130
+ #
131
+ # @yield [result, err] Result & error if block supplied
132
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
133
+ # @yieldparam err [StandardError] error object if request failed
134
+ #
135
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
136
+ #
137
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
138
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
139
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
140
+ def bulk_project_location_conversation_analyze(parent, google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
141
+ command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
142
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
143
+ command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
144
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
145
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
146
+ command.params['parent'] = parent unless parent.nil?
147
+ command.query['fields'] = fields unless fields.nil?
148
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
149
+ execute_or_queue_command(command, &block)
150
+ end
151
+
119
152
  # Gets conversation statistics.
120
153
  # @param [String] location
121
154
  # Required. The location of the conversations.
@@ -256,6 +289,39 @@ module Google
256
289
  execute_or_queue_command(command, &block)
257
290
  end
258
291
 
292
+ # Imports conversations and processes them according to the user's configuration.
293
+ # @param [String] parent
294
+ # Required. The parent resource for new conversations.
295
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest] google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
296
+ # @param [String] fields
297
+ # Selector specifying which fields to include in a partial response.
298
+ # @param [String] quota_user
299
+ # Available to use for quota purposes for server-side applications. Can be any
300
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
301
+ # @param [Google::Apis::RequestOptions] options
302
+ # Request-specific options
303
+ #
304
+ # @yield [result, err] Result & error if block supplied
305
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
306
+ # @yieldparam err [StandardError] error object if request failed
307
+ #
308
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
309
+ #
310
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
311
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
312
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
313
+ def ingest_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
314
+ command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
315
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
316
+ command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
317
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
318
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
319
+ command.params['parent'] = parent unless parent.nil?
320
+ command.query['fields'] = fields unless fields.nil?
321
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
322
+ execute_or_queue_command(command, &block)
323
+ end
324
+
259
325
  # Lists conversations.
260
326
  # @param [String] parent
261
327
  # Required. The parent resource of the conversation.
@@ -771,6 +837,36 @@ module Google
771
837
  execute_or_queue_command(command, &block)
772
838
  end
773
839
 
840
+ # Deletes an issue.
841
+ # @param [String] name
842
+ # Required. The name of the issue to delete.
843
+ # @param [String] fields
844
+ # Selector specifying which fields to include in a partial response.
845
+ # @param [String] quota_user
846
+ # Available to use for quota purposes for server-side applications. Can be any
847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
848
+ # @param [Google::Apis::RequestOptions] options
849
+ # Request-specific options
850
+ #
851
+ # @yield [result, err] Result & error if block supplied
852
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
853
+ # @yieldparam err [StandardError] error object if request failed
854
+ #
855
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
856
+ #
857
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
858
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
859
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
860
+ def delete_project_location_issue_model_issue(name, fields: nil, quota_user: nil, options: nil, &block)
861
+ command = make_simple_command(:delete, 'v1/{+name}', options)
862
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
863
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
864
+ command.params['name'] = name unless name.nil?
865
+ command.query['fields'] = fields unless fields.nil?
866
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
867
+ execute_or_queue_command(command, &block)
868
+ end
869
+
774
870
  # Gets an issue.
775
871
  # @param [String] name
776
872
  # Required. The name of the issue to get.
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.17.0
4
+ version: 0.19.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: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.19.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: []