google-cloud-contact_center_insights-v1 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/client.rb +10 -1
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/operations.rb +10 -1
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb +687 -0
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/operations.rb +75 -0
- data/lib/google/cloud/contact_center_insights/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ea04a7fac1410870238da1d922faf65a9a0e6b6f73e5f52b7a5ce6753f6dd7d
|
4
|
+
data.tar.gz: 24ce11d564f38d70eb355240f99ff0480ef043f8137b74fefa9912eb08007629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e06429f71f81682fddf24cd3dba7391cb38cec4ceb8fc529b7cfaa288707b743f470ef7852000a6a7b5523cb028f8e794d7d751ea8314b13d82f1bb47cac0e3e
|
7
|
+
data.tar.gz: d8f0bf645d68a843119172fa8507b1989b2d73725f4b703c4e2003820b0db10bda463196abff5c6b777fdde22d77f10a733b3e74cd52861e9cb8266acb2d3498
|
@@ -149,7 +149,8 @@ module Google
|
|
149
149
|
credentials: credentials,
|
150
150
|
endpoint: @config.endpoint,
|
151
151
|
channel_args: @config.channel_args,
|
152
|
-
interceptors: @config.interceptors
|
152
|
+
interceptors: @config.interceptors,
|
153
|
+
channel_pool_config: @config.channel_pool
|
153
154
|
)
|
154
155
|
end
|
155
156
|
|
@@ -3737,6 +3738,14 @@ module Google
|
|
3737
3738
|
end
|
3738
3739
|
end
|
3739
3740
|
|
3741
|
+
##
|
3742
|
+
# Configuration for the channel pool
|
3743
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
3744
|
+
#
|
3745
|
+
def channel_pool
|
3746
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
3747
|
+
end
|
3748
|
+
|
3740
3749
|
##
|
3741
3750
|
# Configuration RPC class for the ContactCenterInsights API.
|
3742
3751
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -189,6 +189,22 @@ module Google
|
|
189
189
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation]
|
190
190
|
#
|
191
191
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
192
|
+
#
|
193
|
+
# @example Basic example
|
194
|
+
# require "google/cloud/contact_center_insights/v1"
|
195
|
+
#
|
196
|
+
# # Create a client object. The client can be reused for multiple calls.
|
197
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
198
|
+
#
|
199
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
200
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CreateConversationRequest.new
|
201
|
+
#
|
202
|
+
# # Call the create_conversation method.
|
203
|
+
# result = client.create_conversation request
|
204
|
+
#
|
205
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Conversation.
|
206
|
+
# p result
|
207
|
+
#
|
192
208
|
def create_conversation request, options = nil
|
193
209
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
194
210
|
|
@@ -265,6 +281,29 @@ module Google
|
|
265
281
|
# @return [::Gapic::Operation]
|
266
282
|
#
|
267
283
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
284
|
+
#
|
285
|
+
# @example Basic example
|
286
|
+
# require "google/cloud/contact_center_insights/v1"
|
287
|
+
#
|
288
|
+
# # Create a client object. The client can be reused for multiple calls.
|
289
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
290
|
+
#
|
291
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
292
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UploadConversationRequest.new
|
293
|
+
#
|
294
|
+
# # Call the upload_conversation method.
|
295
|
+
# result = client.upload_conversation request
|
296
|
+
#
|
297
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
298
|
+
# # check the status of an operation, cancel it, or wait for results.
|
299
|
+
# # Here is how to wait for a response.
|
300
|
+
# result.wait_until_done! timeout: 60
|
301
|
+
# if result.response?
|
302
|
+
# p result.response
|
303
|
+
# else
|
304
|
+
# puts "No response received."
|
305
|
+
# end
|
306
|
+
#
|
268
307
|
def upload_conversation request, options = nil
|
269
308
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
270
309
|
|
@@ -330,6 +369,22 @@ module Google
|
|
330
369
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation]
|
331
370
|
#
|
332
371
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
372
|
+
#
|
373
|
+
# @example Basic example
|
374
|
+
# require "google/cloud/contact_center_insights/v1"
|
375
|
+
#
|
376
|
+
# # Create a client object. The client can be reused for multiple calls.
|
377
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
378
|
+
#
|
379
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
380
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdateConversationRequest.new
|
381
|
+
#
|
382
|
+
# # Call the update_conversation method.
|
383
|
+
# result = client.update_conversation request
|
384
|
+
#
|
385
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Conversation.
|
386
|
+
# p result
|
387
|
+
#
|
333
388
|
def update_conversation request, options = nil
|
334
389
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
335
390
|
|
@@ -394,6 +449,22 @@ module Google
|
|
394
449
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation]
|
395
450
|
#
|
396
451
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
452
|
+
#
|
453
|
+
# @example Basic example
|
454
|
+
# require "google/cloud/contact_center_insights/v1"
|
455
|
+
#
|
456
|
+
# # Create a client object. The client can be reused for multiple calls.
|
457
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
458
|
+
#
|
459
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
460
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetConversationRequest.new
|
461
|
+
#
|
462
|
+
# # Call the get_conversation method.
|
463
|
+
# result = client.get_conversation request
|
464
|
+
#
|
465
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Conversation.
|
466
|
+
# p result
|
467
|
+
#
|
397
468
|
def get_conversation request, options = nil
|
398
469
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
399
470
|
|
@@ -470,6 +541,26 @@ module Google
|
|
470
541
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ContactCenterInsights::V1::Conversation>]
|
471
542
|
#
|
472
543
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
544
|
+
#
|
545
|
+
# @example Basic example
|
546
|
+
# require "google/cloud/contact_center_insights/v1"
|
547
|
+
#
|
548
|
+
# # Create a client object. The client can be reused for multiple calls.
|
549
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
550
|
+
#
|
551
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
552
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListConversationsRequest.new
|
553
|
+
#
|
554
|
+
# # Call the list_conversations method.
|
555
|
+
# result = client.list_conversations request
|
556
|
+
#
|
557
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
558
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
559
|
+
# result.each do |item|
|
560
|
+
# # Each element is of type ::Google::Cloud::ContactCenterInsights::V1::Conversation.
|
561
|
+
# p item
|
562
|
+
# end
|
563
|
+
#
|
473
564
|
def list_conversations request, options = nil
|
474
565
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
475
566
|
|
@@ -537,6 +628,22 @@ module Google
|
|
537
628
|
# @return [::Google::Protobuf::Empty]
|
538
629
|
#
|
539
630
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
631
|
+
#
|
632
|
+
# @example Basic example
|
633
|
+
# require "google/cloud/contact_center_insights/v1"
|
634
|
+
#
|
635
|
+
# # Create a client object. The client can be reused for multiple calls.
|
636
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
637
|
+
#
|
638
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
639
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteConversationRequest.new
|
640
|
+
#
|
641
|
+
# # Call the delete_conversation method.
|
642
|
+
# result = client.delete_conversation request
|
643
|
+
#
|
644
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
645
|
+
# p result
|
646
|
+
#
|
540
647
|
def delete_conversation request, options = nil
|
541
648
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
542
649
|
|
@@ -602,6 +709,29 @@ module Google
|
|
602
709
|
# @return [::Gapic::Operation]
|
603
710
|
#
|
604
711
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
712
|
+
#
|
713
|
+
# @example Basic example
|
714
|
+
# require "google/cloud/contact_center_insights/v1"
|
715
|
+
#
|
716
|
+
# # Create a client object. The client can be reused for multiple calls.
|
717
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
718
|
+
#
|
719
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
720
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CreateAnalysisRequest.new
|
721
|
+
#
|
722
|
+
# # Call the create_analysis method.
|
723
|
+
# result = client.create_analysis request
|
724
|
+
#
|
725
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
726
|
+
# # check the status of an operation, cancel it, or wait for results.
|
727
|
+
# # Here is how to wait for a response.
|
728
|
+
# result.wait_until_done! timeout: 60
|
729
|
+
# if result.response?
|
730
|
+
# p result.response
|
731
|
+
# else
|
732
|
+
# puts "No response received."
|
733
|
+
# end
|
734
|
+
#
|
605
735
|
def create_analysis request, options = nil
|
606
736
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
607
737
|
|
@@ -665,6 +795,22 @@ module Google
|
|
665
795
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Analysis]
|
666
796
|
#
|
667
797
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
798
|
+
#
|
799
|
+
# @example Basic example
|
800
|
+
# require "google/cloud/contact_center_insights/v1"
|
801
|
+
#
|
802
|
+
# # Create a client object. The client can be reused for multiple calls.
|
803
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
804
|
+
#
|
805
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
806
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetAnalysisRequest.new
|
807
|
+
#
|
808
|
+
# # Call the get_analysis method.
|
809
|
+
# result = client.get_analysis request
|
810
|
+
#
|
811
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Analysis.
|
812
|
+
# p result
|
813
|
+
#
|
668
814
|
def get_analysis request, options = nil
|
669
815
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
670
816
|
|
@@ -739,6 +885,26 @@ module Google
|
|
739
885
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ContactCenterInsights::V1::Analysis>]
|
740
886
|
#
|
741
887
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
888
|
+
#
|
889
|
+
# @example Basic example
|
890
|
+
# require "google/cloud/contact_center_insights/v1"
|
891
|
+
#
|
892
|
+
# # Create a client object. The client can be reused for multiple calls.
|
893
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
894
|
+
#
|
895
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
896
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListAnalysesRequest.new
|
897
|
+
#
|
898
|
+
# # Call the list_analyses method.
|
899
|
+
# result = client.list_analyses request
|
900
|
+
#
|
901
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
902
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
903
|
+
# result.each do |item|
|
904
|
+
# # Each element is of type ::Google::Cloud::ContactCenterInsights::V1::Analysis.
|
905
|
+
# p item
|
906
|
+
# end
|
907
|
+
#
|
742
908
|
def list_analyses request, options = nil
|
743
909
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
744
910
|
|
@@ -802,6 +968,22 @@ module Google
|
|
802
968
|
# @return [::Google::Protobuf::Empty]
|
803
969
|
#
|
804
970
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
971
|
+
#
|
972
|
+
# @example Basic example
|
973
|
+
# require "google/cloud/contact_center_insights/v1"
|
974
|
+
#
|
975
|
+
# # Create a client object. The client can be reused for multiple calls.
|
976
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
977
|
+
#
|
978
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
979
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteAnalysisRequest.new
|
980
|
+
#
|
981
|
+
# # Call the delete_analysis method.
|
982
|
+
# result = client.delete_analysis request
|
983
|
+
#
|
984
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
985
|
+
# p result
|
986
|
+
#
|
805
987
|
def delete_analysis request, options = nil
|
806
988
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
807
989
|
|
@@ -872,6 +1054,29 @@ module Google
|
|
872
1054
|
# @return [::Gapic::Operation]
|
873
1055
|
#
|
874
1056
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1057
|
+
#
|
1058
|
+
# @example Basic example
|
1059
|
+
# require "google/cloud/contact_center_insights/v1"
|
1060
|
+
#
|
1061
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1062
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1063
|
+
#
|
1064
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1065
|
+
# request = Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest.new
|
1066
|
+
#
|
1067
|
+
# # Call the bulk_analyze_conversations method.
|
1068
|
+
# result = client.bulk_analyze_conversations request
|
1069
|
+
#
|
1070
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1071
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1072
|
+
# # Here is how to wait for a response.
|
1073
|
+
# result.wait_until_done! timeout: 60
|
1074
|
+
# if result.response?
|
1075
|
+
# p result.response
|
1076
|
+
# else
|
1077
|
+
# puts "No response received."
|
1078
|
+
# end
|
1079
|
+
#
|
875
1080
|
def bulk_analyze_conversations request, options = nil
|
876
1081
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
877
1082
|
|
@@ -942,6 +1147,29 @@ module Google
|
|
942
1147
|
# @return [::Gapic::Operation]
|
943
1148
|
#
|
944
1149
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1150
|
+
#
|
1151
|
+
# @example Basic example
|
1152
|
+
# require "google/cloud/contact_center_insights/v1"
|
1153
|
+
#
|
1154
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1155
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1156
|
+
#
|
1157
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1158
|
+
# request = Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest.new
|
1159
|
+
#
|
1160
|
+
# # Call the ingest_conversations method.
|
1161
|
+
# result = client.ingest_conversations request
|
1162
|
+
#
|
1163
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1164
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1165
|
+
# # Here is how to wait for a response.
|
1166
|
+
# result.wait_until_done! timeout: 60
|
1167
|
+
# if result.response?
|
1168
|
+
# p result.response
|
1169
|
+
# else
|
1170
|
+
# puts "No response received."
|
1171
|
+
# end
|
1172
|
+
#
|
945
1173
|
def ingest_conversations request, options = nil
|
946
1174
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
947
1175
|
|
@@ -1016,6 +1244,29 @@ module Google
|
|
1016
1244
|
# @return [::Gapic::Operation]
|
1017
1245
|
#
|
1018
1246
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1247
|
+
#
|
1248
|
+
# @example Basic example
|
1249
|
+
# require "google/cloud/contact_center_insights/v1"
|
1250
|
+
#
|
1251
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1252
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1253
|
+
#
|
1254
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1255
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest.new
|
1256
|
+
#
|
1257
|
+
# # Call the export_insights_data method.
|
1258
|
+
# result = client.export_insights_data request
|
1259
|
+
#
|
1260
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1261
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1262
|
+
# # Here is how to wait for a response.
|
1263
|
+
# result.wait_until_done! timeout: 60
|
1264
|
+
# if result.response?
|
1265
|
+
# p result.response
|
1266
|
+
# else
|
1267
|
+
# puts "No response received."
|
1268
|
+
# end
|
1269
|
+
#
|
1019
1270
|
def export_insights_data request, options = nil
|
1020
1271
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1021
1272
|
|
@@ -1081,6 +1332,29 @@ module Google
|
|
1081
1332
|
# @return [::Gapic::Operation]
|
1082
1333
|
#
|
1083
1334
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1335
|
+
#
|
1336
|
+
# @example Basic example
|
1337
|
+
# require "google/cloud/contact_center_insights/v1"
|
1338
|
+
#
|
1339
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1340
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1341
|
+
#
|
1342
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1343
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CreateIssueModelRequest.new
|
1344
|
+
#
|
1345
|
+
# # Call the create_issue_model method.
|
1346
|
+
# result = client.create_issue_model request
|
1347
|
+
#
|
1348
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1349
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1350
|
+
# # Here is how to wait for a response.
|
1351
|
+
# result.wait_until_done! timeout: 60
|
1352
|
+
# if result.response?
|
1353
|
+
# p result.response
|
1354
|
+
# else
|
1355
|
+
# puts "No response received."
|
1356
|
+
# end
|
1357
|
+
#
|
1084
1358
|
def create_issue_model request, options = nil
|
1085
1359
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1086
1360
|
|
@@ -1146,6 +1420,22 @@ module Google
|
|
1146
1420
|
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueModel]
|
1147
1421
|
#
|
1148
1422
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1423
|
+
#
|
1424
|
+
# @example Basic example
|
1425
|
+
# require "google/cloud/contact_center_insights/v1"
|
1426
|
+
#
|
1427
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1428
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1429
|
+
#
|
1430
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1431
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdateIssueModelRequest.new
|
1432
|
+
#
|
1433
|
+
# # Call the update_issue_model method.
|
1434
|
+
# result = client.update_issue_model request
|
1435
|
+
#
|
1436
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::IssueModel.
|
1437
|
+
# p result
|
1438
|
+
#
|
1149
1439
|
def update_issue_model request, options = nil
|
1150
1440
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1151
1441
|
|
@@ -1208,6 +1498,22 @@ module Google
|
|
1208
1498
|
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueModel]
|
1209
1499
|
#
|
1210
1500
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1501
|
+
#
|
1502
|
+
# @example Basic example
|
1503
|
+
# require "google/cloud/contact_center_insights/v1"
|
1504
|
+
#
|
1505
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1506
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1507
|
+
#
|
1508
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1509
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetIssueModelRequest.new
|
1510
|
+
#
|
1511
|
+
# # Call the get_issue_model method.
|
1512
|
+
# result = client.get_issue_model request
|
1513
|
+
#
|
1514
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::IssueModel.
|
1515
|
+
# p result
|
1516
|
+
#
|
1211
1517
|
def get_issue_model request, options = nil
|
1212
1518
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1213
1519
|
|
@@ -1270,6 +1576,22 @@ module Google
|
|
1270
1576
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ListIssueModelsResponse]
|
1271
1577
|
#
|
1272
1578
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1579
|
+
#
|
1580
|
+
# @example Basic example
|
1581
|
+
# require "google/cloud/contact_center_insights/v1"
|
1582
|
+
#
|
1583
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1584
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1585
|
+
#
|
1586
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1587
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListIssueModelsRequest.new
|
1588
|
+
#
|
1589
|
+
# # Call the list_issue_models method.
|
1590
|
+
# result = client.list_issue_models request
|
1591
|
+
#
|
1592
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::ListIssueModelsResponse.
|
1593
|
+
# p result
|
1594
|
+
#
|
1273
1595
|
def list_issue_models request, options = nil
|
1274
1596
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1275
1597
|
|
@@ -1332,6 +1654,29 @@ module Google
|
|
1332
1654
|
# @return [::Gapic::Operation]
|
1333
1655
|
#
|
1334
1656
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1657
|
+
#
|
1658
|
+
# @example Basic example
|
1659
|
+
# require "google/cloud/contact_center_insights/v1"
|
1660
|
+
#
|
1661
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1662
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1663
|
+
#
|
1664
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1665
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteIssueModelRequest.new
|
1666
|
+
#
|
1667
|
+
# # Call the delete_issue_model method.
|
1668
|
+
# result = client.delete_issue_model request
|
1669
|
+
#
|
1670
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1671
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1672
|
+
# # Here is how to wait for a response.
|
1673
|
+
# result.wait_until_done! timeout: 60
|
1674
|
+
# if result.response?
|
1675
|
+
# p result.response
|
1676
|
+
# else
|
1677
|
+
# puts "No response received."
|
1678
|
+
# end
|
1679
|
+
#
|
1335
1680
|
def delete_issue_model request, options = nil
|
1336
1681
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1337
1682
|
|
@@ -1396,6 +1741,29 @@ module Google
|
|
1396
1741
|
# @return [::Gapic::Operation]
|
1397
1742
|
#
|
1398
1743
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1744
|
+
#
|
1745
|
+
# @example Basic example
|
1746
|
+
# require "google/cloud/contact_center_insights/v1"
|
1747
|
+
#
|
1748
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1749
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1750
|
+
#
|
1751
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1752
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeployIssueModelRequest.new
|
1753
|
+
#
|
1754
|
+
# # Call the deploy_issue_model method.
|
1755
|
+
# result = client.deploy_issue_model request
|
1756
|
+
#
|
1757
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1758
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1759
|
+
# # Here is how to wait for a response.
|
1760
|
+
# result.wait_until_done! timeout: 60
|
1761
|
+
# if result.response?
|
1762
|
+
# p result.response
|
1763
|
+
# else
|
1764
|
+
# puts "No response received."
|
1765
|
+
# end
|
1766
|
+
#
|
1399
1767
|
def deploy_issue_model request, options = nil
|
1400
1768
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1401
1769
|
|
@@ -1460,6 +1828,29 @@ module Google
|
|
1460
1828
|
# @return [::Gapic::Operation]
|
1461
1829
|
#
|
1462
1830
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1831
|
+
#
|
1832
|
+
# @example Basic example
|
1833
|
+
# require "google/cloud/contact_center_insights/v1"
|
1834
|
+
#
|
1835
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1836
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1837
|
+
#
|
1838
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1839
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UndeployIssueModelRequest.new
|
1840
|
+
#
|
1841
|
+
# # Call the undeploy_issue_model method.
|
1842
|
+
# result = client.undeploy_issue_model request
|
1843
|
+
#
|
1844
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1845
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1846
|
+
# # Here is how to wait for a response.
|
1847
|
+
# result.wait_until_done! timeout: 60
|
1848
|
+
# if result.response?
|
1849
|
+
# p result.response
|
1850
|
+
# else
|
1851
|
+
# puts "No response received."
|
1852
|
+
# end
|
1853
|
+
#
|
1463
1854
|
def undeploy_issue_model request, options = nil
|
1464
1855
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1465
1856
|
|
@@ -1523,6 +1914,22 @@ module Google
|
|
1523
1914
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Issue]
|
1524
1915
|
#
|
1525
1916
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1917
|
+
#
|
1918
|
+
# @example Basic example
|
1919
|
+
# require "google/cloud/contact_center_insights/v1"
|
1920
|
+
#
|
1921
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1922
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
1923
|
+
#
|
1924
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1925
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetIssueRequest.new
|
1926
|
+
#
|
1927
|
+
# # Call the get_issue method.
|
1928
|
+
# result = client.get_issue request
|
1929
|
+
#
|
1930
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Issue.
|
1931
|
+
# p result
|
1932
|
+
#
|
1526
1933
|
def get_issue request, options = nil
|
1527
1934
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1528
1935
|
|
@@ -1585,6 +1992,22 @@ module Google
|
|
1585
1992
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ListIssuesResponse]
|
1586
1993
|
#
|
1587
1994
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1995
|
+
#
|
1996
|
+
# @example Basic example
|
1997
|
+
# require "google/cloud/contact_center_insights/v1"
|
1998
|
+
#
|
1999
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2000
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2001
|
+
#
|
2002
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2003
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListIssuesRequest.new
|
2004
|
+
#
|
2005
|
+
# # Call the list_issues method.
|
2006
|
+
# result = client.list_issues request
|
2007
|
+
#
|
2008
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::ListIssuesResponse.
|
2009
|
+
# p result
|
2010
|
+
#
|
1588
2011
|
def list_issues request, options = nil
|
1589
2012
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1590
2013
|
|
@@ -1649,6 +2072,22 @@ module Google
|
|
1649
2072
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Issue]
|
1650
2073
|
#
|
1651
2074
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2075
|
+
#
|
2076
|
+
# @example Basic example
|
2077
|
+
# require "google/cloud/contact_center_insights/v1"
|
2078
|
+
#
|
2079
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2080
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2081
|
+
#
|
2082
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2083
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdateIssueRequest.new
|
2084
|
+
#
|
2085
|
+
# # Call the update_issue method.
|
2086
|
+
# result = client.update_issue request
|
2087
|
+
#
|
2088
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Issue.
|
2089
|
+
# p result
|
2090
|
+
#
|
1652
2091
|
def update_issue request, options = nil
|
1653
2092
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1654
2093
|
|
@@ -1711,6 +2150,22 @@ module Google
|
|
1711
2150
|
# @return [::Google::Protobuf::Empty]
|
1712
2151
|
#
|
1713
2152
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2153
|
+
#
|
2154
|
+
# @example Basic example
|
2155
|
+
# require "google/cloud/contact_center_insights/v1"
|
2156
|
+
#
|
2157
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2158
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2159
|
+
#
|
2160
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2161
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest.new
|
2162
|
+
#
|
2163
|
+
# # Call the delete_issue method.
|
2164
|
+
# result = client.delete_issue request
|
2165
|
+
#
|
2166
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2167
|
+
# p result
|
2168
|
+
#
|
1714
2169
|
def delete_issue request, options = nil
|
1715
2170
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1716
2171
|
|
@@ -1773,6 +2228,22 @@ module Google
|
|
1773
2228
|
# @return [::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsResponse]
|
1774
2229
|
#
|
1775
2230
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2231
|
+
#
|
2232
|
+
# @example Basic example
|
2233
|
+
# require "google/cloud/contact_center_insights/v1"
|
2234
|
+
#
|
2235
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2236
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2237
|
+
#
|
2238
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2239
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsRequest.new
|
2240
|
+
#
|
2241
|
+
# # Call the calculate_issue_model_stats method.
|
2242
|
+
# result = client.calculate_issue_model_stats request
|
2243
|
+
#
|
2244
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsResponse.
|
2245
|
+
# p result
|
2246
|
+
#
|
1776
2247
|
def calculate_issue_model_stats request, options = nil
|
1777
2248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1778
2249
|
|
@@ -1840,6 +2311,22 @@ module Google
|
|
1840
2311
|
# @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher]
|
1841
2312
|
#
|
1842
2313
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2314
|
+
#
|
2315
|
+
# @example Basic example
|
2316
|
+
# require "google/cloud/contact_center_insights/v1"
|
2317
|
+
#
|
2318
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2319
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2320
|
+
#
|
2321
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2322
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CreatePhraseMatcherRequest.new
|
2323
|
+
#
|
2324
|
+
# # Call the create_phrase_matcher method.
|
2325
|
+
# result = client.create_phrase_matcher request
|
2326
|
+
#
|
2327
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::PhraseMatcher.
|
2328
|
+
# p result
|
2329
|
+
#
|
1843
2330
|
def create_phrase_matcher request, options = nil
|
1844
2331
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1845
2332
|
|
@@ -1902,6 +2389,22 @@ module Google
|
|
1902
2389
|
# @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher]
|
1903
2390
|
#
|
1904
2391
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2392
|
+
#
|
2393
|
+
# @example Basic example
|
2394
|
+
# require "google/cloud/contact_center_insights/v1"
|
2395
|
+
#
|
2396
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2397
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2398
|
+
#
|
2399
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2400
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetPhraseMatcherRequest.new
|
2401
|
+
#
|
2402
|
+
# # Call the get_phrase_matcher method.
|
2403
|
+
# result = client.get_phrase_matcher request
|
2404
|
+
#
|
2405
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::PhraseMatcher.
|
2406
|
+
# p result
|
2407
|
+
#
|
1905
2408
|
def get_phrase_matcher request, options = nil
|
1906
2409
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1907
2410
|
|
@@ -1976,6 +2479,26 @@ module Google
|
|
1976
2479
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher>]
|
1977
2480
|
#
|
1978
2481
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2482
|
+
#
|
2483
|
+
# @example Basic example
|
2484
|
+
# require "google/cloud/contact_center_insights/v1"
|
2485
|
+
#
|
2486
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2487
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2488
|
+
#
|
2489
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2490
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListPhraseMatchersRequest.new
|
2491
|
+
#
|
2492
|
+
# # Call the list_phrase_matchers method.
|
2493
|
+
# result = client.list_phrase_matchers request
|
2494
|
+
#
|
2495
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2496
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2497
|
+
# result.each do |item|
|
2498
|
+
# # Each element is of type ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher.
|
2499
|
+
# p item
|
2500
|
+
# end
|
2501
|
+
#
|
1979
2502
|
def list_phrase_matchers request, options = nil
|
1980
2503
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1981
2504
|
|
@@ -2039,6 +2562,22 @@ module Google
|
|
2039
2562
|
# @return [::Google::Protobuf::Empty]
|
2040
2563
|
#
|
2041
2564
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2565
|
+
#
|
2566
|
+
# @example Basic example
|
2567
|
+
# require "google/cloud/contact_center_insights/v1"
|
2568
|
+
#
|
2569
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2570
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2571
|
+
#
|
2572
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2573
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeletePhraseMatcherRequest.new
|
2574
|
+
#
|
2575
|
+
# # Call the delete_phrase_matcher method.
|
2576
|
+
# result = client.delete_phrase_matcher request
|
2577
|
+
#
|
2578
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2579
|
+
# p result
|
2580
|
+
#
|
2042
2581
|
def delete_phrase_matcher request, options = nil
|
2043
2582
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2044
2583
|
|
@@ -2103,6 +2642,22 @@ module Google
|
|
2103
2642
|
# @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher]
|
2104
2643
|
#
|
2105
2644
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2645
|
+
#
|
2646
|
+
# @example Basic example
|
2647
|
+
# require "google/cloud/contact_center_insights/v1"
|
2648
|
+
#
|
2649
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2650
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2651
|
+
#
|
2652
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2653
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdatePhraseMatcherRequest.new
|
2654
|
+
#
|
2655
|
+
# # Call the update_phrase_matcher method.
|
2656
|
+
# result = client.update_phrase_matcher request
|
2657
|
+
#
|
2658
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::PhraseMatcher.
|
2659
|
+
# p result
|
2660
|
+
#
|
2106
2661
|
def update_phrase_matcher request, options = nil
|
2107
2662
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2108
2663
|
|
@@ -2168,6 +2723,22 @@ module Google
|
|
2168
2723
|
# @return [::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse]
|
2169
2724
|
#
|
2170
2725
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2726
|
+
#
|
2727
|
+
# @example Basic example
|
2728
|
+
# require "google/cloud/contact_center_insights/v1"
|
2729
|
+
#
|
2730
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2731
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2732
|
+
#
|
2733
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2734
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CalculateStatsRequest.new
|
2735
|
+
#
|
2736
|
+
# # Call the calculate_stats method.
|
2737
|
+
# result = client.calculate_stats request
|
2738
|
+
#
|
2739
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse.
|
2740
|
+
# p result
|
2741
|
+
#
|
2171
2742
|
def calculate_stats request, options = nil
|
2172
2743
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2173
2744
|
|
@@ -2230,6 +2801,22 @@ module Google
|
|
2230
2801
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Settings]
|
2231
2802
|
#
|
2232
2803
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2804
|
+
#
|
2805
|
+
# @example Basic example
|
2806
|
+
# require "google/cloud/contact_center_insights/v1"
|
2807
|
+
#
|
2808
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2809
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2810
|
+
#
|
2811
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2812
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetSettingsRequest.new
|
2813
|
+
#
|
2814
|
+
# # Call the get_settings method.
|
2815
|
+
# result = client.get_settings request
|
2816
|
+
#
|
2817
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Settings.
|
2818
|
+
# p result
|
2819
|
+
#
|
2233
2820
|
def get_settings request, options = nil
|
2234
2821
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2235
2822
|
|
@@ -2294,6 +2881,22 @@ module Google
|
|
2294
2881
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Settings]
|
2295
2882
|
#
|
2296
2883
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2884
|
+
#
|
2885
|
+
# @example Basic example
|
2886
|
+
# require "google/cloud/contact_center_insights/v1"
|
2887
|
+
#
|
2888
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2889
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2890
|
+
#
|
2891
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2892
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdateSettingsRequest.new
|
2893
|
+
#
|
2894
|
+
# # Call the update_settings method.
|
2895
|
+
# result = client.update_settings request
|
2896
|
+
#
|
2897
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::Settings.
|
2898
|
+
# p result
|
2899
|
+
#
|
2297
2900
|
def update_settings request, options = nil
|
2298
2901
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2299
2902
|
|
@@ -2361,6 +2964,22 @@ module Google
|
|
2361
2964
|
# @return [::Google::Cloud::ContactCenterInsights::V1::View]
|
2362
2965
|
#
|
2363
2966
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2967
|
+
#
|
2968
|
+
# @example Basic example
|
2969
|
+
# require "google/cloud/contact_center_insights/v1"
|
2970
|
+
#
|
2971
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2972
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
2973
|
+
#
|
2974
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2975
|
+
# request = Google::Cloud::ContactCenterInsights::V1::CreateViewRequest.new
|
2976
|
+
#
|
2977
|
+
# # Call the create_view method.
|
2978
|
+
# result = client.create_view request
|
2979
|
+
#
|
2980
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::View.
|
2981
|
+
# p result
|
2982
|
+
#
|
2364
2983
|
def create_view request, options = nil
|
2365
2984
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2366
2985
|
|
@@ -2423,6 +3042,22 @@ module Google
|
|
2423
3042
|
# @return [::Google::Cloud::ContactCenterInsights::V1::View]
|
2424
3043
|
#
|
2425
3044
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3045
|
+
#
|
3046
|
+
# @example Basic example
|
3047
|
+
# require "google/cloud/contact_center_insights/v1"
|
3048
|
+
#
|
3049
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3050
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
3051
|
+
#
|
3052
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3053
|
+
# request = Google::Cloud::ContactCenterInsights::V1::GetViewRequest.new
|
3054
|
+
#
|
3055
|
+
# # Call the get_view method.
|
3056
|
+
# result = client.get_view request
|
3057
|
+
#
|
3058
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::View.
|
3059
|
+
# p result
|
3060
|
+
#
|
2426
3061
|
def get_view request, options = nil
|
2427
3062
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2428
3063
|
|
@@ -2494,6 +3129,26 @@ module Google
|
|
2494
3129
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ContactCenterInsights::V1::View>]
|
2495
3130
|
#
|
2496
3131
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3132
|
+
#
|
3133
|
+
# @example Basic example
|
3134
|
+
# require "google/cloud/contact_center_insights/v1"
|
3135
|
+
#
|
3136
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3137
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
3138
|
+
#
|
3139
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3140
|
+
# request = Google::Cloud::ContactCenterInsights::V1::ListViewsRequest.new
|
3141
|
+
#
|
3142
|
+
# # Call the list_views method.
|
3143
|
+
# result = client.list_views request
|
3144
|
+
#
|
3145
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3146
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3147
|
+
# result.each do |item|
|
3148
|
+
# # Each element is of type ::Google::Cloud::ContactCenterInsights::V1::View.
|
3149
|
+
# p item
|
3150
|
+
# end
|
3151
|
+
#
|
2497
3152
|
def list_views request, options = nil
|
2498
3153
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2499
3154
|
|
@@ -2559,6 +3214,22 @@ module Google
|
|
2559
3214
|
# @return [::Google::Cloud::ContactCenterInsights::V1::View]
|
2560
3215
|
#
|
2561
3216
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3217
|
+
#
|
3218
|
+
# @example Basic example
|
3219
|
+
# require "google/cloud/contact_center_insights/v1"
|
3220
|
+
#
|
3221
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3222
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
3223
|
+
#
|
3224
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3225
|
+
# request = Google::Cloud::ContactCenterInsights::V1::UpdateViewRequest.new
|
3226
|
+
#
|
3227
|
+
# # Call the update_view method.
|
3228
|
+
# result = client.update_view request
|
3229
|
+
#
|
3230
|
+
# # The returned object is of type Google::Cloud::ContactCenterInsights::V1::View.
|
3231
|
+
# p result
|
3232
|
+
#
|
2562
3233
|
def update_view request, options = nil
|
2563
3234
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2564
3235
|
|
@@ -2621,6 +3292,22 @@ module Google
|
|
2621
3292
|
# @return [::Google::Protobuf::Empty]
|
2622
3293
|
#
|
2623
3294
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
3295
|
+
#
|
3296
|
+
# @example Basic example
|
3297
|
+
# require "google/cloud/contact_center_insights/v1"
|
3298
|
+
#
|
3299
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3300
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client.new
|
3301
|
+
#
|
3302
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3303
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteViewRequest.new
|
3304
|
+
#
|
3305
|
+
# # Call the delete_view method.
|
3306
|
+
# result = client.delete_view request
|
3307
|
+
#
|
3308
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
3309
|
+
# p result
|
3310
|
+
#
|
2624
3311
|
def delete_view request, options = nil
|
2625
3312
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2626
3313
|
|
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-contact_center_insights-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -220,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
|
-
rubygems_version: 3.4.
|
223
|
+
rubygems_version: 3.4.19
|
224
224
|
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: API Client library for the Contact Center AI Insights V1 API
|