google-cloud-certificate_manager-v1 0.10.0 → 0.10.1

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: e18fd319a03674056b3fe3e67b7440d57f7df0d0c4432d75573d8bad03e62b46
4
- data.tar.gz: fdb4b03ef0f0eaa321bf5056fe7f7f393da45a43c43e93ea3e2bcd7ecdba4e19
3
+ metadata.gz: fde03e465fb7304d79360c2037018941a912af1523a862640c13a5f3e36fc972
4
+ data.tar.gz: 4d2e5cc23422ad15aac9e7391a1a754f43089ec2ad87530a2261a10aae6a8860
5
5
  SHA512:
6
- metadata.gz: f37008edae6d9682d590bc9c4bd7fd83229273f491cf94d6ed95fbc67188cca400d836b3deff2e1612f51752c972588ff7531f717dc8369efda3c988c737947f
7
- data.tar.gz: c0ea395df5b0878b4be84cf38e9226661f0ff19e17622f6aef6107154a51690309047fa19c78169695cbb3c3256c45c52554573c7bd97d25e54455d696c2dea2
6
+ metadata.gz: fcb8959a93b3a46e477a894a807c164f59b28efde209824ff8e65fa1e3b809f367c42ed0f8c6cf4ac7f627db9c69fa2dc250cbea4cb74ba21a7b0b1806c66045
7
+ data.tar.gz: 0ea49db7569fa09f07ce7f913b1486e9370ff6b97bed6067281cfb5700b1e555694021184ae8568ef1703813d7e82456be23c814980ceefdb7c6966e0c7f35df
@@ -56,6 +56,9 @@ module Google
56
56
  # Provides methods to manage Cloud Certificate Manager entities.
57
57
  #
58
58
  class Client
59
+ # @private
60
+ API_VERSION = ""
61
+
59
62
  # @private
60
63
  DEFAULT_ENDPOINT_TEMPLATE = "certificatemanager.$UNIVERSE_DOMAIN$"
61
64
 
@@ -406,10 +409,11 @@ module Google
406
409
  # Customize the options with defaults
407
410
  metadata = @config.rpcs.list_certificates.metadata.to_h
408
411
 
409
- # Set x-goog-api-client and x-goog-user-project headers
412
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
410
413
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
411
414
  lib_name: @config.lib_name, lib_version: @config.lib_version,
412
415
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
416
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
413
417
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
414
418
 
415
419
  header_params = {}
@@ -493,10 +497,11 @@ module Google
493
497
  # Customize the options with defaults
494
498
  metadata = @config.rpcs.get_certificate.metadata.to_h
495
499
 
496
- # Set x-goog-api-client and x-goog-user-project headers
500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
497
501
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
498
502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
499
503
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
504
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
500
505
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
501
506
 
502
507
  header_params = {}
@@ -590,10 +595,11 @@ module Google
590
595
  # Customize the options with defaults
591
596
  metadata = @config.rpcs.create_certificate.metadata.to_h
592
597
 
593
- # Set x-goog-api-client and x-goog-user-project headers
598
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
594
599
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
595
600
  lib_name: @config.lib_name, lib_version: @config.lib_version,
596
601
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
602
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
597
603
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
598
604
 
599
605
  header_params = {}
@@ -687,10 +693,11 @@ module Google
687
693
  # Customize the options with defaults
688
694
  metadata = @config.rpcs.update_certificate.metadata.to_h
689
695
 
690
- # Set x-goog-api-client and x-goog-user-project headers
696
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
691
697
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
692
698
  lib_name: @config.lib_name, lib_version: @config.lib_version,
693
699
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
700
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
694
701
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
695
702
 
696
703
  header_params = {}
@@ -781,10 +788,11 @@ module Google
781
788
  # Customize the options with defaults
782
789
  metadata = @config.rpcs.delete_certificate.metadata.to_h
783
790
 
784
- # Set x-goog-api-client and x-goog-user-project headers
791
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
785
792
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
786
793
  lib_name: @config.lib_name, lib_version: @config.lib_version,
787
794
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
795
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
788
796
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
789
797
 
790
798
  header_params = {}
@@ -884,10 +892,11 @@ module Google
884
892
  # Customize the options with defaults
885
893
  metadata = @config.rpcs.list_certificate_maps.metadata.to_h
886
894
 
887
- # Set x-goog-api-client and x-goog-user-project headers
895
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
888
896
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
889
897
  lib_name: @config.lib_name, lib_version: @config.lib_version,
890
898
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
899
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
891
900
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
892
901
 
893
902
  header_params = {}
@@ -971,10 +980,11 @@ module Google
971
980
  # Customize the options with defaults
972
981
  metadata = @config.rpcs.get_certificate_map.metadata.to_h
973
982
 
974
- # Set x-goog-api-client and x-goog-user-project headers
983
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
975
984
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
976
985
  lib_name: @config.lib_name, lib_version: @config.lib_version,
977
986
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
987
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
978
988
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
979
989
 
980
990
  header_params = {}
@@ -1068,10 +1078,11 @@ module Google
1068
1078
  # Customize the options with defaults
1069
1079
  metadata = @config.rpcs.create_certificate_map.metadata.to_h
1070
1080
 
1071
- # Set x-goog-api-client and x-goog-user-project headers
1081
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1072
1082
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1073
1083
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1074
1084
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1085
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1075
1086
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1076
1087
 
1077
1088
  header_params = {}
@@ -1165,10 +1176,11 @@ module Google
1165
1176
  # Customize the options with defaults
1166
1177
  metadata = @config.rpcs.update_certificate_map.metadata.to_h
1167
1178
 
1168
- # Set x-goog-api-client and x-goog-user-project headers
1179
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1169
1180
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1170
1181
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1171
1182
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1183
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1172
1184
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1173
1185
 
1174
1186
  header_params = {}
@@ -1261,10 +1273,11 @@ module Google
1261
1273
  # Customize the options with defaults
1262
1274
  metadata = @config.rpcs.delete_certificate_map.metadata.to_h
1263
1275
 
1264
- # Set x-goog-api-client and x-goog-user-project headers
1276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1265
1277
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1266
1278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1267
1279
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1280
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1268
1281
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1269
1282
 
1270
1283
  header_params = {}
@@ -1369,10 +1382,11 @@ module Google
1369
1382
  # Customize the options with defaults
1370
1383
  metadata = @config.rpcs.list_certificate_map_entries.metadata.to_h
1371
1384
 
1372
- # Set x-goog-api-client and x-goog-user-project headers
1385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1373
1386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1374
1387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1375
1388
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1376
1390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1377
1391
 
1378
1392
  header_params = {}
@@ -1456,10 +1470,11 @@ module Google
1456
1470
  # Customize the options with defaults
1457
1471
  metadata = @config.rpcs.get_certificate_map_entry.metadata.to_h
1458
1472
 
1459
- # Set x-goog-api-client and x-goog-user-project headers
1473
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1460
1474
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1461
1475
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1462
1476
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1477
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1463
1478
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1464
1479
 
1465
1480
  header_params = {}
@@ -1553,10 +1568,11 @@ module Google
1553
1568
  # Customize the options with defaults
1554
1569
  metadata = @config.rpcs.create_certificate_map_entry.metadata.to_h
1555
1570
 
1556
- # Set x-goog-api-client and x-goog-user-project headers
1571
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1557
1572
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1558
1573
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1559
1574
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1575
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1560
1576
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1561
1577
 
1562
1578
  header_params = {}
@@ -1650,10 +1666,11 @@ module Google
1650
1666
  # Customize the options with defaults
1651
1667
  metadata = @config.rpcs.update_certificate_map_entry.metadata.to_h
1652
1668
 
1653
- # Set x-goog-api-client and x-goog-user-project headers
1669
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1654
1670
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1655
1671
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1656
1672
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1673
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1657
1674
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1658
1675
 
1659
1676
  header_params = {}
@@ -1744,10 +1761,11 @@ module Google
1744
1761
  # Customize the options with defaults
1745
1762
  metadata = @config.rpcs.delete_certificate_map_entry.metadata.to_h
1746
1763
 
1747
- # Set x-goog-api-client and x-goog-user-project headers
1764
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1748
1765
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1749
1766
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1750
1767
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1768
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1751
1769
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1752
1770
 
1753
1771
  header_params = {}
@@ -1847,10 +1865,11 @@ module Google
1847
1865
  # Customize the options with defaults
1848
1866
  metadata = @config.rpcs.list_dns_authorizations.metadata.to_h
1849
1867
 
1850
- # Set x-goog-api-client and x-goog-user-project headers
1868
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1851
1869
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1852
1870
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1853
1871
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1872
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1854
1873
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1855
1874
 
1856
1875
  header_params = {}
@@ -1934,10 +1953,11 @@ module Google
1934
1953
  # Customize the options with defaults
1935
1954
  metadata = @config.rpcs.get_dns_authorization.metadata.to_h
1936
1955
 
1937
- # Set x-goog-api-client and x-goog-user-project headers
1956
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1938
1957
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1939
1958
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1940
1959
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
1960
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1941
1961
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1942
1962
 
1943
1963
  header_params = {}
@@ -2031,10 +2051,11 @@ module Google
2031
2051
  # Customize the options with defaults
2032
2052
  metadata = @config.rpcs.create_dns_authorization.metadata.to_h
2033
2053
 
2034
- # Set x-goog-api-client and x-goog-user-project headers
2054
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2035
2055
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2036
2056
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2037
2057
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2058
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2038
2059
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2039
2060
 
2040
2061
  header_params = {}
@@ -2128,10 +2149,11 @@ module Google
2128
2149
  # Customize the options with defaults
2129
2150
  metadata = @config.rpcs.update_dns_authorization.metadata.to_h
2130
2151
 
2131
- # Set x-goog-api-client and x-goog-user-project headers
2152
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2132
2153
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2133
2154
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2134
2155
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2156
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2135
2157
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2136
2158
 
2137
2159
  header_params = {}
@@ -2222,10 +2244,11 @@ module Google
2222
2244
  # Customize the options with defaults
2223
2245
  metadata = @config.rpcs.delete_dns_authorization.metadata.to_h
2224
2246
 
2225
- # Set x-goog-api-client and x-goog-user-project headers
2247
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2226
2248
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2227
2249
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2228
2250
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2251
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2229
2252
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2230
2253
 
2231
2254
  header_params = {}
@@ -2326,10 +2349,11 @@ module Google
2326
2349
  # Customize the options with defaults
2327
2350
  metadata = @config.rpcs.list_certificate_issuance_configs.metadata.to_h
2328
2351
 
2329
- # Set x-goog-api-client and x-goog-user-project headers
2352
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2330
2353
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2331
2354
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2332
2355
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2356
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2333
2357
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2334
2358
 
2335
2359
  header_params = {}
@@ -2413,10 +2437,11 @@ module Google
2413
2437
  # Customize the options with defaults
2414
2438
  metadata = @config.rpcs.get_certificate_issuance_config.metadata.to_h
2415
2439
 
2416
- # Set x-goog-api-client and x-goog-user-project headers
2440
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2417
2441
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2418
2442
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2419
2443
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2444
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2420
2445
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2421
2446
 
2422
2447
  header_params = {}
@@ -2510,10 +2535,11 @@ module Google
2510
2535
  # Customize the options with defaults
2511
2536
  metadata = @config.rpcs.create_certificate_issuance_config.metadata.to_h
2512
2537
 
2513
- # Set x-goog-api-client and x-goog-user-project headers
2538
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2514
2539
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2515
2540
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2516
2541
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2542
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2517
2543
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2518
2544
 
2519
2545
  header_params = {}
@@ -2604,10 +2630,11 @@ module Google
2604
2630
  # Customize the options with defaults
2605
2631
  metadata = @config.rpcs.delete_certificate_issuance_config.metadata.to_h
2606
2632
 
2607
- # Set x-goog-api-client and x-goog-user-project headers
2633
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2608
2634
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2609
2635
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2610
2636
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2637
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2611
2638
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2612
2639
 
2613
2640
  header_params = {}
@@ -2707,10 +2734,11 @@ module Google
2707
2734
  # Customize the options with defaults
2708
2735
  metadata = @config.rpcs.list_trust_configs.metadata.to_h
2709
2736
 
2710
- # Set x-goog-api-client and x-goog-user-project headers
2737
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2711
2738
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2712
2739
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2713
2740
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2741
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2714
2742
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2715
2743
 
2716
2744
  header_params = {}
@@ -2794,10 +2822,11 @@ module Google
2794
2822
  # Customize the options with defaults
2795
2823
  metadata = @config.rpcs.get_trust_config.metadata.to_h
2796
2824
 
2797
- # Set x-goog-api-client and x-goog-user-project headers
2825
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2798
2826
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2799
2827
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2800
2828
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2829
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2801
2830
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2802
2831
 
2803
2832
  header_params = {}
@@ -2892,10 +2921,11 @@ module Google
2892
2921
  # Customize the options with defaults
2893
2922
  metadata = @config.rpcs.create_trust_config.metadata.to_h
2894
2923
 
2895
- # Set x-goog-api-client and x-goog-user-project headers
2924
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2896
2925
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2897
2926
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2898
2927
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
2928
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2899
2929
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2900
2930
 
2901
2931
  header_params = {}
@@ -2989,10 +3019,11 @@ module Google
2989
3019
  # Customize the options with defaults
2990
3020
  metadata = @config.rpcs.update_trust_config.metadata.to_h
2991
3021
 
2992
- # Set x-goog-api-client and x-goog-user-project headers
3022
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2993
3023
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2994
3024
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2995
3025
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
3026
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2996
3027
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2997
3028
 
2998
3029
  header_params = {}
@@ -3087,10 +3118,11 @@ module Google
3087
3118
  # Customize the options with defaults
3088
3119
  metadata = @config.rpcs.delete_trust_config.metadata.to_h
3089
3120
 
3090
- # Set x-goog-api-client and x-goog-user-project headers
3121
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3091
3122
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3092
3123
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3093
3124
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION
3125
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3094
3126
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3095
3127
 
3096
3128
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module CertificateManager
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 = "certificatemanager.$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::CertificateManager::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::CertificateManager::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::CertificateManager::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::CertificateManager::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::CertificateManager::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,
@@ -58,6 +58,9 @@ module Google
58
58
  # Provides methods to manage Cloud Certificate Manager entities.
59
59
  #
60
60
  class Client
61
+ # @private
62
+ API_VERSION = ""
63
+
61
64
  # @private
62
65
  DEFAULT_ENDPOINT_TEMPLATE = "certificatemanager.$UNIVERSE_DOMAIN$"
63
66
 
@@ -399,12 +402,13 @@ module Google
399
402
  # Customize the options with defaults
400
403
  call_metadata = @config.rpcs.list_certificates.metadata.to_h
401
404
 
402
- # Set x-goog-api-client and x-goog-user-project headers
405
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
403
406
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
404
407
  lib_name: @config.lib_name, lib_version: @config.lib_version,
405
408
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
406
409
  transports_version_send: [:rest]
407
410
 
411
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
408
412
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
409
413
 
410
414
  options.apply_defaults timeout: @config.rpcs.list_certificates.timeout,
@@ -478,12 +482,13 @@ module Google
478
482
  # Customize the options with defaults
479
483
  call_metadata = @config.rpcs.get_certificate.metadata.to_h
480
484
 
481
- # Set x-goog-api-client and x-goog-user-project headers
485
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
482
486
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
483
487
  lib_name: @config.lib_name, lib_version: @config.lib_version,
484
488
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
485
489
  transports_version_send: [:rest]
486
490
 
491
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
487
492
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
488
493
 
489
494
  options.apply_defaults timeout: @config.rpcs.get_certificate.timeout,
@@ -568,12 +573,13 @@ module Google
568
573
  # Customize the options with defaults
569
574
  call_metadata = @config.rpcs.create_certificate.metadata.to_h
570
575
 
571
- # Set x-goog-api-client and x-goog-user-project headers
576
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
572
577
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
573
578
  lib_name: @config.lib_name, lib_version: @config.lib_version,
574
579
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
575
580
  transports_version_send: [:rest]
576
581
 
582
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
577
583
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
578
584
 
579
585
  options.apply_defaults timeout: @config.rpcs.create_certificate.timeout,
@@ -658,12 +664,13 @@ module Google
658
664
  # Customize the options with defaults
659
665
  call_metadata = @config.rpcs.update_certificate.metadata.to_h
660
666
 
661
- # Set x-goog-api-client and x-goog-user-project headers
667
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
662
668
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
663
669
  lib_name: @config.lib_name, lib_version: @config.lib_version,
664
670
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
665
671
  transports_version_send: [:rest]
666
672
 
673
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
667
674
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
668
675
 
669
676
  options.apply_defaults timeout: @config.rpcs.update_certificate.timeout,
@@ -745,12 +752,13 @@ module Google
745
752
  # Customize the options with defaults
746
753
  call_metadata = @config.rpcs.delete_certificate.metadata.to_h
747
754
 
748
- # Set x-goog-api-client and x-goog-user-project headers
755
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
749
756
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
750
757
  lib_name: @config.lib_name, lib_version: @config.lib_version,
751
758
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
752
759
  transports_version_send: [:rest]
753
760
 
761
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
754
762
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
755
763
 
756
764
  options.apply_defaults timeout: @config.rpcs.delete_certificate.timeout,
@@ -841,12 +849,13 @@ module Google
841
849
  # Customize the options with defaults
842
850
  call_metadata = @config.rpcs.list_certificate_maps.metadata.to_h
843
851
 
844
- # Set x-goog-api-client and x-goog-user-project headers
852
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
845
853
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
846
854
  lib_name: @config.lib_name, lib_version: @config.lib_version,
847
855
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
848
856
  transports_version_send: [:rest]
849
857
 
858
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
850
859
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
851
860
 
852
861
  options.apply_defaults timeout: @config.rpcs.list_certificate_maps.timeout,
@@ -920,12 +929,13 @@ module Google
920
929
  # Customize the options with defaults
921
930
  call_metadata = @config.rpcs.get_certificate_map.metadata.to_h
922
931
 
923
- # Set x-goog-api-client and x-goog-user-project headers
932
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
924
933
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
925
934
  lib_name: @config.lib_name, lib_version: @config.lib_version,
926
935
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
927
936
  transports_version_send: [:rest]
928
937
 
938
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
929
939
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
930
940
 
931
941
  options.apply_defaults timeout: @config.rpcs.get_certificate_map.timeout,
@@ -1010,12 +1020,13 @@ module Google
1010
1020
  # Customize the options with defaults
1011
1021
  call_metadata = @config.rpcs.create_certificate_map.metadata.to_h
1012
1022
 
1013
- # Set x-goog-api-client and x-goog-user-project headers
1023
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1014
1024
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1015
1025
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1016
1026
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1017
1027
  transports_version_send: [:rest]
1018
1028
 
1029
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1019
1030
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1020
1031
 
1021
1032
  options.apply_defaults timeout: @config.rpcs.create_certificate_map.timeout,
@@ -1100,12 +1111,13 @@ module Google
1100
1111
  # Customize the options with defaults
1101
1112
  call_metadata = @config.rpcs.update_certificate_map.metadata.to_h
1102
1113
 
1103
- # Set x-goog-api-client and x-goog-user-project headers
1114
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1104
1115
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1105
1116
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1106
1117
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1107
1118
  transports_version_send: [:rest]
1108
1119
 
1120
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1109
1121
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1110
1122
 
1111
1123
  options.apply_defaults timeout: @config.rpcs.update_certificate_map.timeout,
@@ -1189,12 +1201,13 @@ module Google
1189
1201
  # Customize the options with defaults
1190
1202
  call_metadata = @config.rpcs.delete_certificate_map.metadata.to_h
1191
1203
 
1192
- # 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
1193
1205
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1194
1206
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1195
1207
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1196
1208
  transports_version_send: [:rest]
1197
1209
 
1210
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1198
1211
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1199
1212
 
1200
1213
  options.apply_defaults timeout: @config.rpcs.delete_certificate_map.timeout,
@@ -1290,12 +1303,13 @@ module Google
1290
1303
  # Customize the options with defaults
1291
1304
  call_metadata = @config.rpcs.list_certificate_map_entries.metadata.to_h
1292
1305
 
1293
- # Set x-goog-api-client and x-goog-user-project headers
1306
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1294
1307
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1295
1308
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1296
1309
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1297
1310
  transports_version_send: [:rest]
1298
1311
 
1312
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1299
1313
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1300
1314
 
1301
1315
  options.apply_defaults timeout: @config.rpcs.list_certificate_map_entries.timeout,
@@ -1369,12 +1383,13 @@ module Google
1369
1383
  # Customize the options with defaults
1370
1384
  call_metadata = @config.rpcs.get_certificate_map_entry.metadata.to_h
1371
1385
 
1372
- # Set x-goog-api-client and x-goog-user-project headers
1386
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1373
1387
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1374
1388
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1375
1389
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1376
1390
  transports_version_send: [:rest]
1377
1391
 
1392
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1378
1393
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1379
1394
 
1380
1395
  options.apply_defaults timeout: @config.rpcs.get_certificate_map_entry.timeout,
@@ -1459,12 +1474,13 @@ module Google
1459
1474
  # Customize the options with defaults
1460
1475
  call_metadata = @config.rpcs.create_certificate_map_entry.metadata.to_h
1461
1476
 
1462
- # Set x-goog-api-client and x-goog-user-project headers
1477
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1463
1478
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1464
1479
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1465
1480
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1466
1481
  transports_version_send: [:rest]
1467
1482
 
1483
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1468
1484
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1469
1485
 
1470
1486
  options.apply_defaults timeout: @config.rpcs.create_certificate_map_entry.timeout,
@@ -1549,12 +1565,13 @@ module Google
1549
1565
  # Customize the options with defaults
1550
1566
  call_metadata = @config.rpcs.update_certificate_map_entry.metadata.to_h
1551
1567
 
1552
- # Set x-goog-api-client and x-goog-user-project headers
1568
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1553
1569
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1554
1570
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1555
1571
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1556
1572
  transports_version_send: [:rest]
1557
1573
 
1574
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1558
1575
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1559
1576
 
1560
1577
  options.apply_defaults timeout: @config.rpcs.update_certificate_map_entry.timeout,
@@ -1636,12 +1653,13 @@ module Google
1636
1653
  # Customize the options with defaults
1637
1654
  call_metadata = @config.rpcs.delete_certificate_map_entry.metadata.to_h
1638
1655
 
1639
- # Set x-goog-api-client and x-goog-user-project headers
1656
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1640
1657
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1641
1658
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1642
1659
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1643
1660
  transports_version_send: [:rest]
1644
1661
 
1662
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1645
1663
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1646
1664
 
1647
1665
  options.apply_defaults timeout: @config.rpcs.delete_certificate_map_entry.timeout,
@@ -1732,12 +1750,13 @@ module Google
1732
1750
  # Customize the options with defaults
1733
1751
  call_metadata = @config.rpcs.list_dns_authorizations.metadata.to_h
1734
1752
 
1735
- # Set x-goog-api-client and x-goog-user-project headers
1753
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1736
1754
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1737
1755
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1738
1756
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1739
1757
  transports_version_send: [:rest]
1740
1758
 
1759
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1741
1760
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1742
1761
 
1743
1762
  options.apply_defaults timeout: @config.rpcs.list_dns_authorizations.timeout,
@@ -1811,12 +1830,13 @@ module Google
1811
1830
  # Customize the options with defaults
1812
1831
  call_metadata = @config.rpcs.get_dns_authorization.metadata.to_h
1813
1832
 
1814
- # Set x-goog-api-client and x-goog-user-project headers
1833
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1815
1834
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1816
1835
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1817
1836
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1818
1837
  transports_version_send: [:rest]
1819
1838
 
1839
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1820
1840
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1821
1841
 
1822
1842
  options.apply_defaults timeout: @config.rpcs.get_dns_authorization.timeout,
@@ -1901,12 +1921,13 @@ module Google
1901
1921
  # Customize the options with defaults
1902
1922
  call_metadata = @config.rpcs.create_dns_authorization.metadata.to_h
1903
1923
 
1904
- # Set x-goog-api-client and x-goog-user-project headers
1924
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1905
1925
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1906
1926
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1907
1927
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1908
1928
  transports_version_send: [:rest]
1909
1929
 
1930
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1910
1931
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1911
1932
 
1912
1933
  options.apply_defaults timeout: @config.rpcs.create_dns_authorization.timeout,
@@ -1991,12 +2012,13 @@ module Google
1991
2012
  # Customize the options with defaults
1992
2013
  call_metadata = @config.rpcs.update_dns_authorization.metadata.to_h
1993
2014
 
1994
- # Set x-goog-api-client and x-goog-user-project headers
2015
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1995
2016
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1996
2017
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1997
2018
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
1998
2019
  transports_version_send: [:rest]
1999
2020
 
2021
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2000
2022
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2001
2023
 
2002
2024
  options.apply_defaults timeout: @config.rpcs.update_dns_authorization.timeout,
@@ -2078,12 +2100,13 @@ module Google
2078
2100
  # Customize the options with defaults
2079
2101
  call_metadata = @config.rpcs.delete_dns_authorization.metadata.to_h
2080
2102
 
2081
- # Set x-goog-api-client and x-goog-user-project headers
2103
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2082
2104
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2083
2105
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2084
2106
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2085
2107
  transports_version_send: [:rest]
2086
2108
 
2109
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2087
2110
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2088
2111
 
2089
2112
  options.apply_defaults timeout: @config.rpcs.delete_dns_authorization.timeout,
@@ -2175,12 +2198,13 @@ module Google
2175
2198
  # Customize the options with defaults
2176
2199
  call_metadata = @config.rpcs.list_certificate_issuance_configs.metadata.to_h
2177
2200
 
2178
- # Set x-goog-api-client and x-goog-user-project headers
2201
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2179
2202
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2180
2203
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2181
2204
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2182
2205
  transports_version_send: [:rest]
2183
2206
 
2207
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2184
2208
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2185
2209
 
2186
2210
  options.apply_defaults timeout: @config.rpcs.list_certificate_issuance_configs.timeout,
@@ -2254,12 +2278,13 @@ module Google
2254
2278
  # Customize the options with defaults
2255
2279
  call_metadata = @config.rpcs.get_certificate_issuance_config.metadata.to_h
2256
2280
 
2257
- # Set x-goog-api-client and x-goog-user-project headers
2281
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2258
2282
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2259
2283
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2260
2284
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2261
2285
  transports_version_send: [:rest]
2262
2286
 
2287
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2263
2288
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2264
2289
 
2265
2290
  options.apply_defaults timeout: @config.rpcs.get_certificate_issuance_config.timeout,
@@ -2344,12 +2369,13 @@ module Google
2344
2369
  # Customize the options with defaults
2345
2370
  call_metadata = @config.rpcs.create_certificate_issuance_config.metadata.to_h
2346
2371
 
2347
- # Set x-goog-api-client and x-goog-user-project headers
2372
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2348
2373
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2349
2374
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2350
2375
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2351
2376
  transports_version_send: [:rest]
2352
2377
 
2378
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2353
2379
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2354
2380
 
2355
2381
  options.apply_defaults timeout: @config.rpcs.create_certificate_issuance_config.timeout,
@@ -2431,12 +2457,13 @@ module Google
2431
2457
  # Customize the options with defaults
2432
2458
  call_metadata = @config.rpcs.delete_certificate_issuance_config.metadata.to_h
2433
2459
 
2434
- # Set x-goog-api-client and x-goog-user-project headers
2460
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2435
2461
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2436
2462
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2437
2463
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2438
2464
  transports_version_send: [:rest]
2439
2465
 
2466
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2440
2467
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2441
2468
 
2442
2469
  options.apply_defaults timeout: @config.rpcs.delete_certificate_issuance_config.timeout,
@@ -2527,12 +2554,13 @@ module Google
2527
2554
  # Customize the options with defaults
2528
2555
  call_metadata = @config.rpcs.list_trust_configs.metadata.to_h
2529
2556
 
2530
- # Set x-goog-api-client and x-goog-user-project headers
2557
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2531
2558
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2532
2559
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2533
2560
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2534
2561
  transports_version_send: [:rest]
2535
2562
 
2563
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2536
2564
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2537
2565
 
2538
2566
  options.apply_defaults timeout: @config.rpcs.list_trust_configs.timeout,
@@ -2606,12 +2634,13 @@ module Google
2606
2634
  # Customize the options with defaults
2607
2635
  call_metadata = @config.rpcs.get_trust_config.metadata.to_h
2608
2636
 
2609
- # Set x-goog-api-client and x-goog-user-project headers
2637
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2610
2638
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2611
2639
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2612
2640
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2613
2641
  transports_version_send: [:rest]
2614
2642
 
2643
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2615
2644
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2616
2645
 
2617
2646
  options.apply_defaults timeout: @config.rpcs.get_trust_config.timeout,
@@ -2697,12 +2726,13 @@ module Google
2697
2726
  # Customize the options with defaults
2698
2727
  call_metadata = @config.rpcs.create_trust_config.metadata.to_h
2699
2728
 
2700
- # Set x-goog-api-client and x-goog-user-project headers
2729
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2701
2730
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2702
2731
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2703
2732
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2704
2733
  transports_version_send: [:rest]
2705
2734
 
2735
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2706
2736
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2707
2737
 
2708
2738
  options.apply_defaults timeout: @config.rpcs.create_trust_config.timeout,
@@ -2787,12 +2817,13 @@ module Google
2787
2817
  # Customize the options with defaults
2788
2818
  call_metadata = @config.rpcs.update_trust_config.metadata.to_h
2789
2819
 
2790
- # Set x-goog-api-client and x-goog-user-project headers
2820
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2791
2821
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2792
2822
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2793
2823
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2794
2824
  transports_version_send: [:rest]
2795
2825
 
2826
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2796
2827
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2797
2828
 
2798
2829
  options.apply_defaults timeout: @config.rpcs.update_trust_config.timeout,
@@ -2878,12 +2909,13 @@ module Google
2878
2909
  # Customize the options with defaults
2879
2910
  call_metadata = @config.rpcs.delete_trust_config.metadata.to_h
2880
2911
 
2881
- # 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
2882
2913
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2883
2914
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2884
2915
  gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2885
2916
  transports_version_send: [:rest]
2886
2917
 
2918
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2887
2919
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2888
2920
 
2889
2921
  options.apply_defaults timeout: @config.rpcs.delete_trust_config.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 = "certificatemanager.$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::CertificateManager::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::CertificateManager::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::CertificateManager::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::CertificateManager::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 CertificateManager
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.10.1"
25
25
  end
26
26
  end
27
27
  end
@@ -196,9 +196,26 @@ module Google
196
196
  # @!attribute [rw] common
197
197
  # @return [::Google::Api::CommonLanguageSettings]
198
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
199
202
  class PythonSettings
200
203
  include ::Google::Protobuf::MessageExts
201
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
202
219
  end
203
220
 
204
221
  # Settings for Node client libraries.
@@ -290,6 +307,13 @@ module Google
290
307
  # @return [::String]
291
308
  # The fully qualified name of the method, for which the options below apply.
292
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
293
317
  # @!attribute [rw] long_running
294
318
  # @return [::Google::Api::MethodSettings::LongRunning]
295
319
  # Describes settings to use for long-running operations when generating
@@ -298,17 +322,14 @@ module Google
298
322
  #
299
323
  # Example of a YAML configuration::
300
324
  #
301
- # publishing:
302
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
303
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
304
328
  # long_running:
305
- # initial_poll_delay:
306
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
307
330
  # poll_delay_multiplier: 1.5
308
- # max_poll_delay:
309
- # seconds: 360 # 6 minutes
310
- # total_poll_timeout:
311
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
312
333
  # @!attribute [rw] auto_populated_fields
313
334
  # @return [::Array<::String>]
314
335
  # List of top-level fields of the request message, that should be
@@ -317,8 +338,8 @@ module Google
317
338
  #
318
339
  # Example of a YAML configuration:
319
340
  #
320
- # publishing:
321
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
322
343
  # - selector: google.example.v1.ExampleService.CreateExample
323
344
  # auto_populated_fields:
324
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
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-03-22 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common