google-cloud-contact_center_insights-v1 0.22.0 → 1.0.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: f8831311be6d1e2f8858b0dd648b7d1fc6a454c6b9925b720c48dcc0cf5e9212
4
- data.tar.gz: 75dd06043b2631f166222d53f14c441f869971ad1730a6fffd3cfb40839d6e4d
3
+ metadata.gz: 78afda81e8ed59ce170a30f58cdeb0cf8b4cf1f559451088f23f11f542cbc924
4
+ data.tar.gz: '09b052d4044ad2fd655f89e1663620df87bf5a3f94119b2898be67837a78a6da'
5
5
  SHA512:
6
- metadata.gz: e35f31f8791db0efe5bedc3913b8087eed85163c088c716fe31d5b3797574d547e470f8bab5acaafa4479a9f30ce588a4ed978f0198c798f647446ebe02d9fa0
7
- data.tar.gz: 01bd7791a49ccf105895e75357a41482a596059cd03d8b0f2bff6eb6cd98437ef74374b06ea6018c4e18a7d26c1596d1a65a23e2168aeb866b9518c3bbdd0a7a
6
+ metadata.gz: c72b60e3da1de699deaf4a8e8fa14f779e4e76089e0242e35203439b0010238ad7f8cb85896195ba169d6cdd2a3f4ae37f01e4b6a1944d321ba7f1cb2ac0d435
7
+ data.tar.gz: e5e0e45fef203d2329796d89f6a1e8b14673b01a2dc132827726140daa1911228c767ead4e6ec48980a5d8212cc2bc8d3319bffa1bd6c4d4401c00cf22e47624
@@ -30,6 +30,9 @@ module Google
30
30
  # An API that lets users analyze and explore their business conversation data.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "contactcenterinsights.$UNIVERSE_DOMAIN$"
35
38
 
@@ -243,10 +246,11 @@ module Google
243
246
  # Customize the options with defaults
244
247
  metadata = @config.rpcs.create_conversation.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
253
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
254
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
255
 
252
256
  header_params = {}
@@ -352,10 +356,11 @@ module Google
352
356
  # Customize the options with defaults
353
357
  metadata = @config.rpcs.upload_conversation.metadata.to_h
354
358
 
355
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
356
360
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
362
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
363
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
359
364
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
360
365
 
361
366
  header_params = {}
@@ -440,10 +445,11 @@ module Google
440
445
  # Customize the options with defaults
441
446
  metadata = @config.rpcs.update_conversation.metadata.to_h
442
447
 
443
- # Set x-goog-api-client and x-goog-user-project headers
448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
444
449
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
445
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
446
451
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
452
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
453
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
454
 
449
455
  header_params = {}
@@ -527,10 +533,11 @@ module Google
527
533
  # Customize the options with defaults
528
534
  metadata = @config.rpcs.get_conversation.metadata.to_h
529
535
 
530
- # Set x-goog-api-client and x-goog-user-project headers
536
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
531
537
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
532
538
  lib_name: @config.lib_name, lib_version: @config.lib_version,
533
539
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
540
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
534
541
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
535
542
 
536
543
  header_params = {}
@@ -630,10 +637,11 @@ module Google
630
637
  # Customize the options with defaults
631
638
  metadata = @config.rpcs.list_conversations.metadata.to_h
632
639
 
633
- # Set x-goog-api-client and x-goog-user-project headers
640
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
634
641
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
635
642
  lib_name: @config.lib_name, lib_version: @config.lib_version,
636
643
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
644
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
637
645
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
638
646
 
639
647
  header_params = {}
@@ -720,10 +728,11 @@ module Google
720
728
  # Customize the options with defaults
721
729
  metadata = @config.rpcs.delete_conversation.metadata.to_h
722
730
 
723
- # Set x-goog-api-client and x-goog-user-project headers
731
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
724
732
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
725
733
  lib_name: @config.lib_name, lib_version: @config.lib_version,
726
734
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
735
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
727
736
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
728
737
 
729
738
  header_params = {}
@@ -815,10 +824,11 @@ module Google
815
824
  # Customize the options with defaults
816
825
  metadata = @config.rpcs.create_analysis.metadata.to_h
817
826
 
818
- # Set x-goog-api-client and x-goog-user-project headers
827
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
819
828
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
820
829
  lib_name: @config.lib_name, lib_version: @config.lib_version,
821
830
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
831
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
822
832
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
823
833
 
824
834
  header_params = {}
@@ -901,10 +911,11 @@ module Google
901
911
  # Customize the options with defaults
902
912
  metadata = @config.rpcs.get_analysis.metadata.to_h
903
913
 
904
- # Set x-goog-api-client and x-goog-user-project headers
914
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
905
915
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
906
916
  lib_name: @config.lib_name, lib_version: @config.lib_version,
907
917
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
918
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
908
919
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
909
920
 
910
921
  header_params = {}
@@ -1002,10 +1013,11 @@ module Google
1002
1013
  # Customize the options with defaults
1003
1014
  metadata = @config.rpcs.list_analyses.metadata.to_h
1004
1015
 
1005
- # Set x-goog-api-client and x-goog-user-project headers
1016
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1006
1017
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1007
1018
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1008
1019
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1020
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1009
1021
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1010
1022
 
1011
1023
  header_params = {}
@@ -1088,10 +1100,11 @@ module Google
1088
1100
  # Customize the options with defaults
1089
1101
  metadata = @config.rpcs.delete_analysis.metadata.to_h
1090
1102
 
1091
- # Set x-goog-api-client and x-goog-user-project headers
1103
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1092
1104
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1093
1105
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1094
1106
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1107
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1095
1108
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1096
1109
 
1097
1110
  header_params = {}
@@ -1188,10 +1201,11 @@ module Google
1188
1201
  # Customize the options with defaults
1189
1202
  metadata = @config.rpcs.bulk_analyze_conversations.metadata.to_h
1190
1203
 
1191
- # Set x-goog-api-client and x-goog-user-project headers
1204
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1192
1205
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1193
1206
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1194
1207
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1208
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1195
1209
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1196
1210
 
1197
1211
  header_params = {}
@@ -1291,10 +1305,11 @@ module Google
1291
1305
  # Customize the options with defaults
1292
1306
  metadata = @config.rpcs.bulk_delete_conversations.metadata.to_h
1293
1307
 
1294
- # Set x-goog-api-client and x-goog-user-project headers
1308
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1295
1309
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1296
1310
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1297
1311
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1312
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1298
1313
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1299
1314
 
1300
1315
  header_params = {}
@@ -1398,10 +1413,11 @@ module Google
1398
1413
  # Customize the options with defaults
1399
1414
  metadata = @config.rpcs.ingest_conversations.metadata.to_h
1400
1415
 
1401
- # Set x-goog-api-client and x-goog-user-project headers
1416
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1402
1417
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1403
1418
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1404
1419
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1420
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1405
1421
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1406
1422
 
1407
1423
  header_params = {}
@@ -1502,10 +1518,11 @@ module Google
1502
1518
  # Customize the options with defaults
1503
1519
  metadata = @config.rpcs.export_insights_data.metadata.to_h
1504
1520
 
1505
- # Set x-goog-api-client and x-goog-user-project headers
1521
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1506
1522
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1507
1523
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1508
1524
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1525
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1509
1526
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1510
1527
 
1511
1528
  header_params = {}
@@ -1597,10 +1614,11 @@ module Google
1597
1614
  # Customize the options with defaults
1598
1615
  metadata = @config.rpcs.create_issue_model.metadata.to_h
1599
1616
 
1600
- # Set x-goog-api-client and x-goog-user-project headers
1617
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1601
1618
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1602
1619
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1603
1620
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1621
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1604
1622
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1605
1623
 
1606
1624
  header_params = {}
@@ -1685,10 +1703,11 @@ module Google
1685
1703
  # Customize the options with defaults
1686
1704
  metadata = @config.rpcs.update_issue_model.metadata.to_h
1687
1705
 
1688
- # Set x-goog-api-client and x-goog-user-project headers
1706
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1689
1707
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1690
1708
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1691
1709
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1710
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1692
1711
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1693
1712
 
1694
1713
  header_params = {}
@@ -1770,10 +1789,11 @@ module Google
1770
1789
  # Customize the options with defaults
1771
1790
  metadata = @config.rpcs.get_issue_model.metadata.to_h
1772
1791
 
1773
- # Set x-goog-api-client and x-goog-user-project headers
1792
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1774
1793
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1775
1794
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1776
1795
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1796
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1777
1797
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1778
1798
 
1779
1799
  header_params = {}
@@ -1855,10 +1875,11 @@ module Google
1855
1875
  # Customize the options with defaults
1856
1876
  metadata = @config.rpcs.list_issue_models.metadata.to_h
1857
1877
 
1858
- # Set x-goog-api-client and x-goog-user-project headers
1878
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1859
1879
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1860
1880
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1861
1881
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1882
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1862
1883
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1863
1884
 
1864
1885
  header_params = {}
@@ -1947,10 +1968,11 @@ module Google
1947
1968
  # Customize the options with defaults
1948
1969
  metadata = @config.rpcs.delete_issue_model.metadata.to_h
1949
1970
 
1950
- # Set x-goog-api-client and x-goog-user-project headers
1971
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1951
1972
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1952
1973
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1953
1974
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
1975
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1954
1976
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1955
1977
 
1956
1978
  header_params = {}
@@ -2041,10 +2063,11 @@ module Google
2041
2063
  # Customize the options with defaults
2042
2064
  metadata = @config.rpcs.deploy_issue_model.metadata.to_h
2043
2065
 
2044
- # Set x-goog-api-client and x-goog-user-project headers
2066
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2045
2067
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2046
2068
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2047
2069
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2070
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2048
2071
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2049
2072
 
2050
2073
  header_params = {}
@@ -2135,10 +2158,11 @@ module Google
2135
2158
  # Customize the options with defaults
2136
2159
  metadata = @config.rpcs.undeploy_issue_model.metadata.to_h
2137
2160
 
2138
- # Set x-goog-api-client and x-goog-user-project headers
2161
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2139
2162
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2140
2163
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2141
2164
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2165
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2142
2166
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2143
2167
 
2144
2168
  header_params = {}
@@ -2221,10 +2245,11 @@ module Google
2221
2245
  # Customize the options with defaults
2222
2246
  metadata = @config.rpcs.get_issue.metadata.to_h
2223
2247
 
2224
- # Set x-goog-api-client and x-goog-user-project headers
2248
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2225
2249
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2226
2250
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2227
2251
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2252
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2228
2253
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2229
2254
 
2230
2255
  header_params = {}
@@ -2306,10 +2331,11 @@ module Google
2306
2331
  # Customize the options with defaults
2307
2332
  metadata = @config.rpcs.list_issues.metadata.to_h
2308
2333
 
2309
- # Set x-goog-api-client and x-goog-user-project headers
2334
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2310
2335
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2311
2336
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2312
2337
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2338
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2313
2339
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2314
2340
 
2315
2341
  header_params = {}
@@ -2393,10 +2419,11 @@ module Google
2393
2419
  # Customize the options with defaults
2394
2420
  metadata = @config.rpcs.update_issue.metadata.to_h
2395
2421
 
2396
- # Set x-goog-api-client and x-goog-user-project headers
2422
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2397
2423
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2398
2424
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2399
2425
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2426
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2400
2427
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2401
2428
 
2402
2429
  header_params = {}
@@ -2478,10 +2505,11 @@ module Google
2478
2505
  # Customize the options with defaults
2479
2506
  metadata = @config.rpcs.delete_issue.metadata.to_h
2480
2507
 
2481
- # Set x-goog-api-client and x-goog-user-project headers
2508
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2482
2509
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2483
2510
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2484
2511
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2512
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2485
2513
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2486
2514
 
2487
2515
  header_params = {}
@@ -2563,10 +2591,11 @@ module Google
2563
2591
  # Customize the options with defaults
2564
2592
  metadata = @config.rpcs.calculate_issue_model_stats.metadata.to_h
2565
2593
 
2566
- # Set x-goog-api-client and x-goog-user-project headers
2594
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2567
2595
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2568
2596
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2569
2597
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2598
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2570
2599
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2571
2600
 
2572
2601
  header_params = {}
@@ -2653,10 +2682,11 @@ module Google
2653
2682
  # Customize the options with defaults
2654
2683
  metadata = @config.rpcs.create_phrase_matcher.metadata.to_h
2655
2684
 
2656
- # Set x-goog-api-client and x-goog-user-project headers
2685
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2657
2686
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2658
2687
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2659
2688
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2689
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2660
2690
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2661
2691
 
2662
2692
  header_params = {}
@@ -2738,10 +2768,11 @@ module Google
2738
2768
  # Customize the options with defaults
2739
2769
  metadata = @config.rpcs.get_phrase_matcher.metadata.to_h
2740
2770
 
2741
- # Set x-goog-api-client and x-goog-user-project headers
2771
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2742
2772
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2743
2773
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2744
2774
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2775
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2745
2776
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2746
2777
 
2747
2778
  header_params = {}
@@ -2839,10 +2870,11 @@ module Google
2839
2870
  # Customize the options with defaults
2840
2871
  metadata = @config.rpcs.list_phrase_matchers.metadata.to_h
2841
2872
 
2842
- # Set x-goog-api-client and x-goog-user-project headers
2873
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2843
2874
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2844
2875
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2845
2876
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2877
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2846
2878
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2847
2879
 
2848
2880
  header_params = {}
@@ -2925,10 +2957,11 @@ module Google
2925
2957
  # Customize the options with defaults
2926
2958
  metadata = @config.rpcs.delete_phrase_matcher.metadata.to_h
2927
2959
 
2928
- # Set x-goog-api-client and x-goog-user-project headers
2960
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2929
2961
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2930
2962
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2931
2963
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
2964
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2932
2965
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2933
2966
 
2934
2967
  header_params = {}
@@ -3012,10 +3045,11 @@ module Google
3012
3045
  # Customize the options with defaults
3013
3046
  metadata = @config.rpcs.update_phrase_matcher.metadata.to_h
3014
3047
 
3015
- # Set x-goog-api-client and x-goog-user-project headers
3048
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3016
3049
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3017
3050
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3018
3051
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3052
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3019
3053
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3020
3054
 
3021
3055
  header_params = {}
@@ -3100,10 +3134,11 @@ module Google
3100
3134
  # Customize the options with defaults
3101
3135
  metadata = @config.rpcs.calculate_stats.metadata.to_h
3102
3136
 
3103
- # Set x-goog-api-client and x-goog-user-project headers
3137
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3104
3138
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3105
3139
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3106
3140
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3141
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3107
3142
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3108
3143
 
3109
3144
  header_params = {}
@@ -3185,10 +3220,11 @@ module Google
3185
3220
  # Customize the options with defaults
3186
3221
  metadata = @config.rpcs.get_settings.metadata.to_h
3187
3222
 
3188
- # Set x-goog-api-client and x-goog-user-project headers
3223
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3189
3224
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3190
3225
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3191
3226
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3227
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3192
3228
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3193
3229
 
3194
3230
  header_params = {}
@@ -3272,10 +3308,11 @@ module Google
3272
3308
  # Customize the options with defaults
3273
3309
  metadata = @config.rpcs.update_settings.metadata.to_h
3274
3310
 
3275
- # Set x-goog-api-client and x-goog-user-project headers
3311
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3276
3312
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3277
3313
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3278
3314
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3315
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3279
3316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3280
3317
 
3281
3318
  header_params = {}
@@ -3362,10 +3399,11 @@ module Google
3362
3399
  # Customize the options with defaults
3363
3400
  metadata = @config.rpcs.create_view.metadata.to_h
3364
3401
 
3365
- # Set x-goog-api-client and x-goog-user-project headers
3402
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3366
3403
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3367
3404
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3368
3405
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3406
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3369
3407
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3370
3408
 
3371
3409
  header_params = {}
@@ -3447,10 +3485,11 @@ module Google
3447
3485
  # Customize the options with defaults
3448
3486
  metadata = @config.rpcs.get_view.metadata.to_h
3449
3487
 
3450
- # Set x-goog-api-client and x-goog-user-project headers
3488
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3451
3489
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3452
3490
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3453
3491
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3492
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3454
3493
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3455
3494
 
3456
3495
  header_params = {}
@@ -3545,10 +3584,11 @@ module Google
3545
3584
  # Customize the options with defaults
3546
3585
  metadata = @config.rpcs.list_views.metadata.to_h
3547
3586
 
3548
- # Set x-goog-api-client and x-goog-user-project headers
3587
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3549
3588
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3550
3589
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3551
3590
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3591
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3552
3592
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3553
3593
 
3554
3594
  header_params = {}
@@ -3633,10 +3673,11 @@ module Google
3633
3673
  # Customize the options with defaults
3634
3674
  metadata = @config.rpcs.update_view.metadata.to_h
3635
3675
 
3636
- # Set x-goog-api-client and x-goog-user-project headers
3676
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3637
3677
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3638
3678
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3639
3679
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3680
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3640
3681
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3641
3682
 
3642
3683
  header_params = {}
@@ -3718,10 +3759,11 @@ module Google
3718
3759
  # Customize the options with defaults
3719
3760
  metadata = @config.rpcs.delete_view.metadata.to_h
3720
3761
 
3721
- # Set x-goog-api-client and x-goog-user-project headers
3762
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3722
3763
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3723
3764
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3724
3765
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
3766
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3725
3767
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3726
3768
 
3727
3769
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module ContactCenterInsights
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "contactcenterinsights.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -32,6 +32,9 @@ module Google
32
32
  # An API that lets users analyze and explore their business conversation data.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "contactcenterinsights.$UNIVERSE_DOMAIN$"
37
40
 
@@ -235,12 +238,13 @@ module Google
235
238
  # Customize the options with defaults
236
239
  call_metadata = @config.rpcs.create_conversation.metadata.to_h
237
240
 
238
- # Set x-goog-api-client and x-goog-user-project headers
241
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
239
242
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
240
243
  lib_name: @config.lib_name, lib_version: @config.lib_version,
241
244
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
242
245
  transports_version_send: [:rest]
243
246
 
247
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
244
248
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
245
249
 
246
250
  options.apply_defaults timeout: @config.rpcs.create_conversation.timeout,
@@ -337,12 +341,13 @@ module Google
337
341
  # Customize the options with defaults
338
342
  call_metadata = @config.rpcs.upload_conversation.metadata.to_h
339
343
 
340
- # Set x-goog-api-client and x-goog-user-project headers
344
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
341
345
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
342
346
  lib_name: @config.lib_name, lib_version: @config.lib_version,
343
347
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
344
348
  transports_version_send: [:rest]
345
349
 
350
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
346
351
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
347
352
 
348
353
  options.apply_defaults timeout: @config.rpcs.upload_conversation.timeout,
@@ -418,12 +423,13 @@ module Google
418
423
  # Customize the options with defaults
419
424
  call_metadata = @config.rpcs.update_conversation.metadata.to_h
420
425
 
421
- # Set x-goog-api-client and x-goog-user-project headers
426
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
422
427
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
423
428
  lib_name: @config.lib_name, lib_version: @config.lib_version,
424
429
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
425
430
  transports_version_send: [:rest]
426
431
 
432
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
427
433
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
428
434
 
429
435
  options.apply_defaults timeout: @config.rpcs.update_conversation.timeout,
@@ -498,12 +504,13 @@ module Google
498
504
  # Customize the options with defaults
499
505
  call_metadata = @config.rpcs.get_conversation.metadata.to_h
500
506
 
501
- # Set x-goog-api-client and x-goog-user-project headers
507
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
502
508
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
503
509
  lib_name: @config.lib_name, lib_version: @config.lib_version,
504
510
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
505
511
  transports_version_send: [:rest]
506
512
 
513
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
507
514
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
508
515
 
509
516
  options.apply_defaults timeout: @config.rpcs.get_conversation.timeout,
@@ -594,12 +601,13 @@ module Google
594
601
  # Customize the options with defaults
595
602
  call_metadata = @config.rpcs.list_conversations.metadata.to_h
596
603
 
597
- # Set x-goog-api-client and x-goog-user-project headers
604
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
598
605
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
599
606
  lib_name: @config.lib_name, lib_version: @config.lib_version,
600
607
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
601
608
  transports_version_send: [:rest]
602
609
 
610
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
603
611
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
604
612
 
605
613
  options.apply_defaults timeout: @config.rpcs.list_conversations.timeout,
@@ -677,12 +685,13 @@ module Google
677
685
  # Customize the options with defaults
678
686
  call_metadata = @config.rpcs.delete_conversation.metadata.to_h
679
687
 
680
- # Set x-goog-api-client and x-goog-user-project headers
688
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
681
689
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
682
690
  lib_name: @config.lib_name, lib_version: @config.lib_version,
683
691
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
684
692
  transports_version_send: [:rest]
685
693
 
694
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
686
695
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
687
696
 
688
697
  options.apply_defaults timeout: @config.rpcs.delete_conversation.timeout,
@@ -765,12 +774,13 @@ module Google
765
774
  # Customize the options with defaults
766
775
  call_metadata = @config.rpcs.create_analysis.metadata.to_h
767
776
 
768
- # Set x-goog-api-client and x-goog-user-project headers
777
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
769
778
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
770
779
  lib_name: @config.lib_name, lib_version: @config.lib_version,
771
780
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
772
781
  transports_version_send: [:rest]
773
782
 
783
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
774
784
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
775
785
 
776
786
  options.apply_defaults timeout: @config.rpcs.create_analysis.timeout,
@@ -844,12 +854,13 @@ module Google
844
854
  # Customize the options with defaults
845
855
  call_metadata = @config.rpcs.get_analysis.metadata.to_h
846
856
 
847
- # Set x-goog-api-client and x-goog-user-project headers
857
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
848
858
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
849
859
  lib_name: @config.lib_name, lib_version: @config.lib_version,
850
860
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
851
861
  transports_version_send: [:rest]
852
862
 
863
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
853
864
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
854
865
 
855
866
  options.apply_defaults timeout: @config.rpcs.get_analysis.timeout,
@@ -938,12 +949,13 @@ module Google
938
949
  # Customize the options with defaults
939
950
  call_metadata = @config.rpcs.list_analyses.metadata.to_h
940
951
 
941
- # Set x-goog-api-client and x-goog-user-project headers
952
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
942
953
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
943
954
  lib_name: @config.lib_name, lib_version: @config.lib_version,
944
955
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
945
956
  transports_version_send: [:rest]
946
957
 
958
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
947
959
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
948
960
 
949
961
  options.apply_defaults timeout: @config.rpcs.list_analyses.timeout,
@@ -1017,12 +1029,13 @@ module Google
1017
1029
  # Customize the options with defaults
1018
1030
  call_metadata = @config.rpcs.delete_analysis.metadata.to_h
1019
1031
 
1020
- # Set x-goog-api-client and x-goog-user-project headers
1032
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1021
1033
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1022
1034
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1023
1035
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1024
1036
  transports_version_send: [:rest]
1025
1037
 
1038
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1026
1039
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1027
1040
 
1028
1041
  options.apply_defaults timeout: @config.rpcs.delete_analysis.timeout,
@@ -1110,12 +1123,13 @@ module Google
1110
1123
  # Customize the options with defaults
1111
1124
  call_metadata = @config.rpcs.bulk_analyze_conversations.metadata.to_h
1112
1125
 
1113
- # Set x-goog-api-client and x-goog-user-project headers
1126
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1114
1127
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1115
1128
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1116
1129
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1117
1130
  transports_version_send: [:rest]
1118
1131
 
1132
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1119
1133
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1120
1134
 
1121
1135
  options.apply_defaults timeout: @config.rpcs.bulk_analyze_conversations.timeout,
@@ -1206,12 +1220,13 @@ module Google
1206
1220
  # Customize the options with defaults
1207
1221
  call_metadata = @config.rpcs.bulk_delete_conversations.metadata.to_h
1208
1222
 
1209
- # Set x-goog-api-client and x-goog-user-project headers
1223
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1210
1224
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1211
1225
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1212
1226
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1213
1227
  transports_version_send: [:rest]
1214
1228
 
1229
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1215
1230
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1216
1231
 
1217
1232
  options.apply_defaults timeout: @config.rpcs.bulk_delete_conversations.timeout,
@@ -1306,12 +1321,13 @@ module Google
1306
1321
  # Customize the options with defaults
1307
1322
  call_metadata = @config.rpcs.ingest_conversations.metadata.to_h
1308
1323
 
1309
- # Set x-goog-api-client and x-goog-user-project headers
1324
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1310
1325
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1311
1326
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1312
1327
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1313
1328
  transports_version_send: [:rest]
1314
1329
 
1330
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1315
1331
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1316
1332
 
1317
1333
  options.apply_defaults timeout: @config.rpcs.ingest_conversations.timeout,
@@ -1403,12 +1419,13 @@ module Google
1403
1419
  # Customize the options with defaults
1404
1420
  call_metadata = @config.rpcs.export_insights_data.metadata.to_h
1405
1421
 
1406
- # Set x-goog-api-client and x-goog-user-project headers
1422
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1407
1423
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1408
1424
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1409
1425
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1410
1426
  transports_version_send: [:rest]
1411
1427
 
1428
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1412
1429
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1413
1430
 
1414
1431
  options.apply_defaults timeout: @config.rpcs.export_insights_data.timeout,
@@ -1491,12 +1508,13 @@ module Google
1491
1508
  # Customize the options with defaults
1492
1509
  call_metadata = @config.rpcs.create_issue_model.metadata.to_h
1493
1510
 
1494
- # Set x-goog-api-client and x-goog-user-project headers
1511
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1495
1512
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1496
1513
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1497
1514
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1498
1515
  transports_version_send: [:rest]
1499
1516
 
1517
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1500
1518
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1501
1519
 
1502
1520
  options.apply_defaults timeout: @config.rpcs.create_issue_model.timeout,
@@ -1572,12 +1590,13 @@ module Google
1572
1590
  # Customize the options with defaults
1573
1591
  call_metadata = @config.rpcs.update_issue_model.metadata.to_h
1574
1592
 
1575
- # Set x-goog-api-client and x-goog-user-project headers
1593
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1576
1594
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1577
1595
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1578
1596
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1579
1597
  transports_version_send: [:rest]
1580
1598
 
1599
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1581
1600
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1582
1601
 
1583
1602
  options.apply_defaults timeout: @config.rpcs.update_issue_model.timeout,
@@ -1650,12 +1669,13 @@ module Google
1650
1669
  # Customize the options with defaults
1651
1670
  call_metadata = @config.rpcs.get_issue_model.metadata.to_h
1652
1671
 
1653
- # Set x-goog-api-client and x-goog-user-project headers
1672
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1654
1673
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1655
1674
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1656
1675
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1657
1676
  transports_version_send: [:rest]
1658
1677
 
1678
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1659
1679
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1660
1680
 
1661
1681
  options.apply_defaults timeout: @config.rpcs.get_issue_model.timeout,
@@ -1728,12 +1748,13 @@ module Google
1728
1748
  # Customize the options with defaults
1729
1749
  call_metadata = @config.rpcs.list_issue_models.metadata.to_h
1730
1750
 
1731
- # Set x-goog-api-client and x-goog-user-project headers
1751
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1732
1752
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1733
1753
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1734
1754
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1735
1755
  transports_version_send: [:rest]
1736
1756
 
1757
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1737
1758
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1738
1759
 
1739
1760
  options.apply_defaults timeout: @config.rpcs.list_issue_models.timeout,
@@ -1813,12 +1834,13 @@ module Google
1813
1834
  # Customize the options with defaults
1814
1835
  call_metadata = @config.rpcs.delete_issue_model.metadata.to_h
1815
1836
 
1816
- # Set x-goog-api-client and x-goog-user-project headers
1837
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1817
1838
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1818
1839
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1819
1840
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1820
1841
  transports_version_send: [:rest]
1821
1842
 
1843
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1822
1844
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1823
1845
 
1824
1846
  options.apply_defaults timeout: @config.rpcs.delete_issue_model.timeout,
@@ -1900,12 +1922,13 @@ module Google
1900
1922
  # Customize the options with defaults
1901
1923
  call_metadata = @config.rpcs.deploy_issue_model.metadata.to_h
1902
1924
 
1903
- # Set x-goog-api-client and x-goog-user-project headers
1925
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1904
1926
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1905
1927
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1906
1928
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1907
1929
  transports_version_send: [:rest]
1908
1930
 
1931
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1909
1932
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1910
1933
 
1911
1934
  options.apply_defaults timeout: @config.rpcs.deploy_issue_model.timeout,
@@ -1987,12 +2010,13 @@ module Google
1987
2010
  # Customize the options with defaults
1988
2011
  call_metadata = @config.rpcs.undeploy_issue_model.metadata.to_h
1989
2012
 
1990
- # Set x-goog-api-client and x-goog-user-project headers
2013
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1991
2014
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1992
2015
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1993
2016
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
1994
2017
  transports_version_send: [:rest]
1995
2018
 
2019
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1996
2020
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1997
2021
 
1998
2022
  options.apply_defaults timeout: @config.rpcs.undeploy_issue_model.timeout,
@@ -2066,12 +2090,13 @@ module Google
2066
2090
  # Customize the options with defaults
2067
2091
  call_metadata = @config.rpcs.get_issue.metadata.to_h
2068
2092
 
2069
- # Set x-goog-api-client and x-goog-user-project headers
2093
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2070
2094
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2071
2095
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2072
2096
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2073
2097
  transports_version_send: [:rest]
2074
2098
 
2099
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2075
2100
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2076
2101
 
2077
2102
  options.apply_defaults timeout: @config.rpcs.get_issue.timeout,
@@ -2144,12 +2169,13 @@ module Google
2144
2169
  # Customize the options with defaults
2145
2170
  call_metadata = @config.rpcs.list_issues.metadata.to_h
2146
2171
 
2147
- # Set x-goog-api-client and x-goog-user-project headers
2172
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2148
2173
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2149
2174
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2150
2175
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2151
2176
  transports_version_send: [:rest]
2152
2177
 
2178
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2153
2179
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2154
2180
 
2155
2181
  options.apply_defaults timeout: @config.rpcs.list_issues.timeout,
@@ -2224,12 +2250,13 @@ module Google
2224
2250
  # Customize the options with defaults
2225
2251
  call_metadata = @config.rpcs.update_issue.metadata.to_h
2226
2252
 
2227
- # Set x-goog-api-client and x-goog-user-project headers
2253
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2228
2254
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2229
2255
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2230
2256
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2231
2257
  transports_version_send: [:rest]
2232
2258
 
2259
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2233
2260
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2234
2261
 
2235
2262
  options.apply_defaults timeout: @config.rpcs.update_issue.timeout,
@@ -2302,12 +2329,13 @@ module Google
2302
2329
  # Customize the options with defaults
2303
2330
  call_metadata = @config.rpcs.delete_issue.metadata.to_h
2304
2331
 
2305
- # Set x-goog-api-client and x-goog-user-project headers
2332
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2306
2333
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2307
2334
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2308
2335
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2309
2336
  transports_version_send: [:rest]
2310
2337
 
2338
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2311
2339
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2312
2340
 
2313
2341
  options.apply_defaults timeout: @config.rpcs.delete_issue.timeout,
@@ -2380,12 +2408,13 @@ module Google
2380
2408
  # Customize the options with defaults
2381
2409
  call_metadata = @config.rpcs.calculate_issue_model_stats.metadata.to_h
2382
2410
 
2383
- # Set x-goog-api-client and x-goog-user-project headers
2411
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2384
2412
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2385
2413
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2386
2414
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2387
2415
  transports_version_send: [:rest]
2388
2416
 
2417
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2389
2418
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2390
2419
 
2391
2420
  options.apply_defaults timeout: @config.rpcs.calculate_issue_model_stats.timeout,
@@ -2463,12 +2492,13 @@ module Google
2463
2492
  # Customize the options with defaults
2464
2493
  call_metadata = @config.rpcs.create_phrase_matcher.metadata.to_h
2465
2494
 
2466
- # Set x-goog-api-client and x-goog-user-project headers
2495
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2467
2496
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2468
2497
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2469
2498
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2470
2499
  transports_version_send: [:rest]
2471
2500
 
2501
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2472
2502
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2473
2503
 
2474
2504
  options.apply_defaults timeout: @config.rpcs.create_phrase_matcher.timeout,
@@ -2541,12 +2571,13 @@ module Google
2541
2571
  # Customize the options with defaults
2542
2572
  call_metadata = @config.rpcs.get_phrase_matcher.metadata.to_h
2543
2573
 
2544
- # Set x-goog-api-client and x-goog-user-project headers
2574
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2545
2575
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2546
2576
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2547
2577
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2548
2578
  transports_version_send: [:rest]
2549
2579
 
2580
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2550
2581
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2551
2582
 
2552
2583
  options.apply_defaults timeout: @config.rpcs.get_phrase_matcher.timeout,
@@ -2635,12 +2666,13 @@ module Google
2635
2666
  # Customize the options with defaults
2636
2667
  call_metadata = @config.rpcs.list_phrase_matchers.metadata.to_h
2637
2668
 
2638
- # Set x-goog-api-client and x-goog-user-project headers
2669
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2639
2670
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2640
2671
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2641
2672
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2642
2673
  transports_version_send: [:rest]
2643
2674
 
2675
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2644
2676
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2645
2677
 
2646
2678
  options.apply_defaults timeout: @config.rpcs.list_phrase_matchers.timeout,
@@ -2714,12 +2746,13 @@ module Google
2714
2746
  # Customize the options with defaults
2715
2747
  call_metadata = @config.rpcs.delete_phrase_matcher.metadata.to_h
2716
2748
 
2717
- # Set x-goog-api-client and x-goog-user-project headers
2749
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2718
2750
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2719
2751
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2720
2752
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2721
2753
  transports_version_send: [:rest]
2722
2754
 
2755
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2723
2756
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2724
2757
 
2725
2758
  options.apply_defaults timeout: @config.rpcs.delete_phrase_matcher.timeout,
@@ -2794,12 +2827,13 @@ module Google
2794
2827
  # Customize the options with defaults
2795
2828
  call_metadata = @config.rpcs.update_phrase_matcher.metadata.to_h
2796
2829
 
2797
- # Set x-goog-api-client and x-goog-user-project headers
2830
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2798
2831
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2799
2832
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2800
2833
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2801
2834
  transports_version_send: [:rest]
2802
2835
 
2836
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2803
2837
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2804
2838
 
2805
2839
  options.apply_defaults timeout: @config.rpcs.update_phrase_matcher.timeout,
@@ -2875,12 +2909,13 @@ module Google
2875
2909
  # Customize the options with defaults
2876
2910
  call_metadata = @config.rpcs.calculate_stats.metadata.to_h
2877
2911
 
2878
- # Set x-goog-api-client and x-goog-user-project headers
2912
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2879
2913
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2880
2914
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2881
2915
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2882
2916
  transports_version_send: [:rest]
2883
2917
 
2918
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2884
2919
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2885
2920
 
2886
2921
  options.apply_defaults timeout: @config.rpcs.calculate_stats.timeout,
@@ -2953,12 +2988,13 @@ module Google
2953
2988
  # Customize the options with defaults
2954
2989
  call_metadata = @config.rpcs.get_settings.metadata.to_h
2955
2990
 
2956
- # Set x-goog-api-client and x-goog-user-project headers
2991
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2957
2992
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2958
2993
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2959
2994
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
2960
2995
  transports_version_send: [:rest]
2961
2996
 
2997
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2962
2998
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2963
2999
 
2964
3000
  options.apply_defaults timeout: @config.rpcs.get_settings.timeout,
@@ -3033,12 +3069,13 @@ module Google
3033
3069
  # Customize the options with defaults
3034
3070
  call_metadata = @config.rpcs.update_settings.metadata.to_h
3035
3071
 
3036
- # Set x-goog-api-client and x-goog-user-project headers
3072
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3037
3073
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3038
3074
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3039
3075
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3040
3076
  transports_version_send: [:rest]
3041
3077
 
3078
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3042
3079
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3043
3080
 
3044
3081
  options.apply_defaults timeout: @config.rpcs.update_settings.timeout,
@@ -3116,12 +3153,13 @@ module Google
3116
3153
  # Customize the options with defaults
3117
3154
  call_metadata = @config.rpcs.create_view.metadata.to_h
3118
3155
 
3119
- # Set x-goog-api-client and x-goog-user-project headers
3156
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3120
3157
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3121
3158
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3122
3159
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3123
3160
  transports_version_send: [:rest]
3124
3161
 
3162
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3125
3163
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3126
3164
 
3127
3165
  options.apply_defaults timeout: @config.rpcs.create_view.timeout,
@@ -3194,12 +3232,13 @@ module Google
3194
3232
  # Customize the options with defaults
3195
3233
  call_metadata = @config.rpcs.get_view.metadata.to_h
3196
3234
 
3197
- # Set x-goog-api-client and x-goog-user-project headers
3235
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3198
3236
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3199
3237
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3200
3238
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3201
3239
  transports_version_send: [:rest]
3202
3240
 
3241
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3203
3242
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3204
3243
 
3205
3244
  options.apply_defaults timeout: @config.rpcs.get_view.timeout,
@@ -3285,12 +3324,13 @@ module Google
3285
3324
  # Customize the options with defaults
3286
3325
  call_metadata = @config.rpcs.list_views.metadata.to_h
3287
3326
 
3288
- # Set x-goog-api-client and x-goog-user-project headers
3327
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3289
3328
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3290
3329
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3291
3330
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3292
3331
  transports_version_send: [:rest]
3293
3332
 
3333
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3294
3334
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3295
3335
 
3296
3336
  options.apply_defaults timeout: @config.rpcs.list_views.timeout,
@@ -3366,12 +3406,13 @@ module Google
3366
3406
  # Customize the options with defaults
3367
3407
  call_metadata = @config.rpcs.update_view.metadata.to_h
3368
3408
 
3369
- # Set x-goog-api-client and x-goog-user-project headers
3409
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3370
3410
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3371
3411
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3372
3412
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3373
3413
  transports_version_send: [:rest]
3374
3414
 
3415
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3375
3416
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3376
3417
 
3377
3418
  options.apply_defaults timeout: @config.rpcs.update_view.timeout,
@@ -3444,12 +3485,13 @@ module Google
3444
3485
  # Customize the options with defaults
3445
3486
  call_metadata = @config.rpcs.delete_view.metadata.to_h
3446
3487
 
3447
- # Set x-goog-api-client and x-goog-user-project headers
3488
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3448
3489
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3449
3490
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3450
3491
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
3451
3492
  transports_version_send: [:rest]
3452
3493
 
3494
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3453
3495
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3454
3496
 
3455
3497
  options.apply_defaults timeout: @config.rpcs.delete_view.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "contactcenterinsights.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ContactCenterInsights
23
23
  module V1
24
- VERSION = "0.22.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.22.0
4
+ version: 1.0.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common