google-cloud-security-private_ca-v1beta1 0.9.0 → 0.9.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: c148c59100a5a77400a87e79ff7d9de3993dacce1df516cef4c1e2075efc287e
4
- data.tar.gz: b4e5e6b331481f8aadc8a540baadfbabc57015617db589b74d7c1e0986197646
3
+ metadata.gz: 829a90f1d1c2307435c0a3a58016b3df1ced76b979d664348f641d87200b090d
4
+ data.tar.gz: adac115ea5daaf08982deb4271fe7475c5aa8ee61f9c5c5c377dbd3c91959697
5
5
  SHA512:
6
- metadata.gz: 703bf86a32ec78b550c32cab38a5881fc6f680e546026775d6c2a6820c70129490253186e4aac3851a9e8527e173339b206f055d96f49ba21a8beea8e084d7ce
7
- data.tar.gz: 1fea9c77889dd0f16fa6e18d0036a5a9f8b40a55052dcc3e2830ec187f3014064482aaece51d84f17b1a25e0e47f994534614a1d37671579c66ce09fa59ca0e1
6
+ metadata.gz: 15383a7a4435e98c6fa5b5daf72251fb4d83c23b3f35c9c819613e42a3c2582a6289ea57af284cf5ed110b03b854d221e9e7ab33ad2bcdccfdf1733d46937675
7
+ data.tar.gz: 322eb8cdf8624ccd33e32c823367dd0a1102bf9db624c45db5859eb1fdd24dd2b70c3fd95bc24e55b65903b3a76d9ab7c5fdee8a0dc2e0d5f6a432d564758db1
@@ -32,6 +32,9 @@ module Google
32
32
  # certificate authorities and issued certificates.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
37
40
 
@@ -260,10 +263,11 @@ module Google
260
263
  # Customize the options with defaults
261
264
  metadata = @config.rpcs.create_certificate.metadata.to_h
262
265
 
263
- # Set x-goog-api-client and x-goog-user-project headers
266
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
264
267
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
265
268
  lib_name: @config.lib_name, lib_version: @config.lib_version,
266
269
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
270
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
267
271
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
268
272
 
269
273
  header_params = {}
@@ -345,10 +349,11 @@ module Google
345
349
  # Customize the options with defaults
346
350
  metadata = @config.rpcs.get_certificate.metadata.to_h
347
351
 
348
- # Set x-goog-api-client and x-goog-user-project headers
352
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
349
353
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
350
354
  lib_name: @config.lib_name, lib_version: @config.lib_version,
351
355
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
356
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
352
357
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
353
358
 
354
359
  header_params = {}
@@ -454,10 +459,11 @@ module Google
454
459
  # Customize the options with defaults
455
460
  metadata = @config.rpcs.list_certificates.metadata.to_h
456
461
 
457
- # Set x-goog-api-client and x-goog-user-project headers
462
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
458
463
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
459
464
  lib_name: @config.lib_name, lib_version: @config.lib_version,
460
465
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
466
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
461
467
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
462
468
 
463
469
  header_params = {}
@@ -557,10 +563,11 @@ module Google
557
563
  # Customize the options with defaults
558
564
  metadata = @config.rpcs.revoke_certificate.metadata.to_h
559
565
 
560
- # Set x-goog-api-client and x-goog-user-project headers
566
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
561
567
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
562
568
  lib_name: @config.lib_name, lib_version: @config.lib_version,
563
569
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
570
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
564
571
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
565
572
 
566
573
  header_params = {}
@@ -659,10 +666,11 @@ module Google
659
666
  # Customize the options with defaults
660
667
  metadata = @config.rpcs.update_certificate.metadata.to_h
661
668
 
662
- # Set x-goog-api-client and x-goog-user-project headers
669
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
663
670
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
664
671
  lib_name: @config.lib_name, lib_version: @config.lib_version,
665
672
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
673
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
666
674
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
667
675
 
668
676
  header_params = {}
@@ -777,10 +785,11 @@ module Google
777
785
  # Customize the options with defaults
778
786
  metadata = @config.rpcs.activate_certificate_authority.metadata.to_h
779
787
 
780
- # Set x-goog-api-client and x-goog-user-project headers
788
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
781
789
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
782
790
  lib_name: @config.lib_name, lib_version: @config.lib_version,
783
791
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
792
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
784
793
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
785
794
 
786
795
  header_params = {}
@@ -891,10 +900,11 @@ module Google
891
900
  # Customize the options with defaults
892
901
  metadata = @config.rpcs.create_certificate_authority.metadata.to_h
893
902
 
894
- # Set x-goog-api-client and x-goog-user-project headers
903
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
895
904
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
896
905
  lib_name: @config.lib_name, lib_version: @config.lib_version,
897
906
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
907
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
898
908
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
899
909
 
900
910
  header_params = {}
@@ -999,10 +1009,11 @@ module Google
999
1009
  # Customize the options with defaults
1000
1010
  metadata = @config.rpcs.disable_certificate_authority.metadata.to_h
1001
1011
 
1002
- # Set x-goog-api-client and x-goog-user-project headers
1012
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1003
1013
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1004
1014
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1005
1015
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1016
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1006
1017
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1007
1018
 
1008
1019
  header_params = {}
@@ -1107,10 +1118,11 @@ module Google
1107
1118
  # Customize the options with defaults
1108
1119
  metadata = @config.rpcs.enable_certificate_authority.metadata.to_h
1109
1120
 
1110
- # Set x-goog-api-client and x-goog-user-project headers
1121
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1111
1122
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1112
1123
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1113
1124
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1125
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1114
1126
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1115
1127
 
1116
1128
  header_params = {}
@@ -1200,10 +1212,11 @@ module Google
1200
1212
  # Customize the options with defaults
1201
1213
  metadata = @config.rpcs.fetch_certificate_authority_csr.metadata.to_h
1202
1214
 
1203
- # Set x-goog-api-client and x-goog-user-project headers
1215
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1204
1216
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1205
1217
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1206
1218
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1219
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1207
1220
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1208
1221
 
1209
1222
  header_params = {}
@@ -1286,10 +1299,11 @@ module Google
1286
1299
  # Customize the options with defaults
1287
1300
  metadata = @config.rpcs.get_certificate_authority.metadata.to_h
1288
1301
 
1289
- # Set x-goog-api-client and x-goog-user-project headers
1302
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1290
1303
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1291
1304
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1292
1305
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1306
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1293
1307
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1294
1308
 
1295
1309
  header_params = {}
@@ -1391,10 +1405,11 @@ module Google
1391
1405
  # Customize the options with defaults
1392
1406
  metadata = @config.rpcs.list_certificate_authorities.metadata.to_h
1393
1407
 
1394
- # Set x-goog-api-client and x-goog-user-project headers
1408
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1395
1409
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1396
1410
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1397
1411
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1412
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1398
1413
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1399
1414
 
1400
1415
  header_params = {}
@@ -1499,10 +1514,11 @@ module Google
1499
1514
  # Customize the options with defaults
1500
1515
  metadata = @config.rpcs.restore_certificate_authority.metadata.to_h
1501
1516
 
1502
- # Set x-goog-api-client and x-goog-user-project headers
1517
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1503
1518
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1504
1519
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1505
1520
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1521
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1506
1522
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1507
1523
 
1508
1524
  header_params = {}
@@ -1607,10 +1623,11 @@ module Google
1607
1623
  # Customize the options with defaults
1608
1624
  metadata = @config.rpcs.schedule_delete_certificate_authority.metadata.to_h
1609
1625
 
1610
- # Set x-goog-api-client and x-goog-user-project headers
1626
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1611
1627
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1612
1628
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1613
1629
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1630
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1614
1631
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1615
1632
 
1616
1633
  header_params = {}
@@ -1716,10 +1733,11 @@ module Google
1716
1733
  # Customize the options with defaults
1717
1734
  metadata = @config.rpcs.update_certificate_authority.metadata.to_h
1718
1735
 
1719
- # Set x-goog-api-client and x-goog-user-project headers
1736
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1720
1737
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1721
1738
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1722
1739
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1740
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1723
1741
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1724
1742
 
1725
1743
  header_params = {}
@@ -1803,10 +1821,11 @@ module Google
1803
1821
  # Customize the options with defaults
1804
1822
  metadata = @config.rpcs.get_certificate_revocation_list.metadata.to_h
1805
1823
 
1806
- # Set x-goog-api-client and x-goog-user-project headers
1824
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1807
1825
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1808
1826
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1809
1827
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1828
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1810
1829
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1811
1830
 
1812
1831
  header_params = {}
@@ -1908,10 +1927,11 @@ module Google
1908
1927
  # Customize the options with defaults
1909
1928
  metadata = @config.rpcs.list_certificate_revocation_lists.metadata.to_h
1910
1929
 
1911
- # Set x-goog-api-client and x-goog-user-project headers
1930
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1912
1931
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1913
1932
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1914
1933
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
1934
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1915
1935
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1916
1936
 
1917
1937
  header_params = {}
@@ -2017,10 +2037,11 @@ module Google
2017
2037
  # Customize the options with defaults
2018
2038
  metadata = @config.rpcs.update_certificate_revocation_list.metadata.to_h
2019
2039
 
2020
- # Set x-goog-api-client and x-goog-user-project headers
2040
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2021
2041
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2022
2042
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2023
2043
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
2044
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2024
2045
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2025
2046
 
2026
2047
  header_params = {}
@@ -2103,10 +2124,11 @@ module Google
2103
2124
  # Customize the options with defaults
2104
2125
  metadata = @config.rpcs.get_reusable_config.metadata.to_h
2105
2126
 
2106
- # Set x-goog-api-client and x-goog-user-project headers
2127
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2107
2128
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2108
2129
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2109
2130
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
2131
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2110
2132
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2111
2133
 
2112
2134
  header_params = {}
@@ -2208,10 +2230,11 @@ module Google
2208
2230
  # Customize the options with defaults
2209
2231
  metadata = @config.rpcs.list_reusable_configs.metadata.to_h
2210
2232
 
2211
- # Set x-goog-api-client and x-goog-user-project headers
2233
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2212
2234
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2213
2235
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2214
2236
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
2237
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2215
2238
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2216
2239
 
2217
2240
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module CertificateAuthorityService
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -34,6 +34,9 @@ module Google
34
34
  # certificate authorities and issued certificates.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
39
42
 
@@ -252,12 +255,13 @@ module Google
252
255
  # Customize the options with defaults
253
256
  call_metadata = @config.rpcs.create_certificate.metadata.to_h
254
257
 
255
- # Set x-goog-api-client and x-goog-user-project headers
258
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
256
259
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
257
260
  lib_name: @config.lib_name, lib_version: @config.lib_version,
258
261
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
259
262
  transports_version_send: [:rest]
260
263
 
264
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
261
265
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
262
266
 
263
267
  options.apply_defaults timeout: @config.rpcs.create_certificate.timeout,
@@ -330,12 +334,13 @@ module Google
330
334
  # Customize the options with defaults
331
335
  call_metadata = @config.rpcs.get_certificate.metadata.to_h
332
336
 
333
- # Set x-goog-api-client and x-goog-user-project headers
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
334
338
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
335
339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
336
340
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
337
341
  transports_version_send: [:rest]
338
342
 
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
344
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
345
 
341
346
  options.apply_defaults timeout: @config.rpcs.get_certificate.timeout,
@@ -432,12 +437,13 @@ module Google
432
437
  # Customize the options with defaults
433
438
  call_metadata = @config.rpcs.list_certificates.metadata.to_h
434
439
 
435
- # Set x-goog-api-client and x-goog-user-project headers
440
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
436
441
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
437
442
  lib_name: @config.lib_name, lib_version: @config.lib_version,
438
443
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
439
444
  transports_version_send: [:rest]
440
445
 
446
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
441
447
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
442
448
 
443
449
  options.apply_defaults timeout: @config.rpcs.list_certificates.timeout,
@@ -527,12 +533,13 @@ module Google
527
533
  # Customize the options with defaults
528
534
  call_metadata = @config.rpcs.revoke_certificate.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
  call_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::Security::PrivateCA::V1beta1::VERSION,
534
540
  transports_version_send: [:rest]
535
541
 
542
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
536
543
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
537
544
 
538
545
  options.apply_defaults timeout: @config.rpcs.revoke_certificate.timeout,
@@ -622,12 +629,13 @@ module Google
622
629
  # Customize the options with defaults
623
630
  call_metadata = @config.rpcs.update_certificate.metadata.to_h
624
631
 
625
- # Set x-goog-api-client and x-goog-user-project headers
632
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
626
633
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
627
634
  lib_name: @config.lib_name, lib_version: @config.lib_version,
628
635
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
629
636
  transports_version_send: [:rest]
630
637
 
638
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
631
639
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
632
640
 
633
641
  options.apply_defaults timeout: @config.rpcs.update_certificate.timeout,
@@ -733,12 +741,13 @@ module Google
733
741
  # Customize the options with defaults
734
742
  call_metadata = @config.rpcs.activate_certificate_authority.metadata.to_h
735
743
 
736
- # Set x-goog-api-client and x-goog-user-project headers
744
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
737
745
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
738
746
  lib_name: @config.lib_name, lib_version: @config.lib_version,
739
747
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
740
748
  transports_version_send: [:rest]
741
749
 
750
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
742
751
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
743
752
 
744
753
  options.apply_defaults timeout: @config.rpcs.activate_certificate_authority.timeout,
@@ -840,12 +849,13 @@ module Google
840
849
  # Customize the options with defaults
841
850
  call_metadata = @config.rpcs.create_certificate_authority.metadata.to_h
842
851
 
843
- # 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
844
853
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
845
854
  lib_name: @config.lib_name, lib_version: @config.lib_version,
846
855
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
847
856
  transports_version_send: [:rest]
848
857
 
858
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
849
859
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
850
860
 
851
861
  options.apply_defaults timeout: @config.rpcs.create_certificate_authority.timeout,
@@ -941,12 +951,13 @@ module Google
941
951
  # Customize the options with defaults
942
952
  call_metadata = @config.rpcs.disable_certificate_authority.metadata.to_h
943
953
 
944
- # Set x-goog-api-client and x-goog-user-project headers
954
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
945
955
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
946
956
  lib_name: @config.lib_name, lib_version: @config.lib_version,
947
957
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
948
958
  transports_version_send: [:rest]
949
959
 
960
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
950
961
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
951
962
 
952
963
  options.apply_defaults timeout: @config.rpcs.disable_certificate_authority.timeout,
@@ -1042,12 +1053,13 @@ module Google
1042
1053
  # Customize the options with defaults
1043
1054
  call_metadata = @config.rpcs.enable_certificate_authority.metadata.to_h
1044
1055
 
1045
- # Set x-goog-api-client and x-goog-user-project headers
1056
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1046
1057
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1047
1058
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1048
1059
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1049
1060
  transports_version_send: [:rest]
1050
1061
 
1062
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1051
1063
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1052
1064
 
1053
1065
  options.apply_defaults timeout: @config.rpcs.enable_certificate_authority.timeout,
@@ -1128,12 +1140,13 @@ module Google
1128
1140
  # Customize the options with defaults
1129
1141
  call_metadata = @config.rpcs.fetch_certificate_authority_csr.metadata.to_h
1130
1142
 
1131
- # Set x-goog-api-client and x-goog-user-project headers
1143
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1132
1144
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1133
1145
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1134
1146
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1135
1147
  transports_version_send: [:rest]
1136
1148
 
1149
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1137
1150
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1138
1151
 
1139
1152
  options.apply_defaults timeout: @config.rpcs.fetch_certificate_authority_csr.timeout,
@@ -1207,12 +1220,13 @@ module Google
1207
1220
  # Customize the options with defaults
1208
1221
  call_metadata = @config.rpcs.get_certificate_authority.metadata.to_h
1209
1222
 
1210
- # 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
1211
1224
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1212
1225
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1213
1226
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1214
1227
  transports_version_send: [:rest]
1215
1228
 
1229
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1216
1230
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1217
1231
 
1218
1232
  options.apply_defaults timeout: @config.rpcs.get_certificate_authority.timeout,
@@ -1305,12 +1319,13 @@ module Google
1305
1319
  # Customize the options with defaults
1306
1320
  call_metadata = @config.rpcs.list_certificate_authorities.metadata.to_h
1307
1321
 
1308
- # Set x-goog-api-client and x-goog-user-project headers
1322
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1309
1323
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1310
1324
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1311
1325
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1312
1326
  transports_version_send: [:rest]
1313
1327
 
1328
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1314
1329
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1315
1330
 
1316
1331
  options.apply_defaults timeout: @config.rpcs.list_certificate_authorities.timeout,
@@ -1405,12 +1420,13 @@ module Google
1405
1420
  # Customize the options with defaults
1406
1421
  call_metadata = @config.rpcs.restore_certificate_authority.metadata.to_h
1407
1422
 
1408
- # Set x-goog-api-client and x-goog-user-project headers
1423
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1409
1424
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1410
1425
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1411
1426
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1412
1427
  transports_version_send: [:rest]
1413
1428
 
1429
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1414
1430
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1415
1431
 
1416
1432
  options.apply_defaults timeout: @config.rpcs.restore_certificate_authority.timeout,
@@ -1506,12 +1522,13 @@ module Google
1506
1522
  # Customize the options with defaults
1507
1523
  call_metadata = @config.rpcs.schedule_delete_certificate_authority.metadata.to_h
1508
1524
 
1509
- # Set x-goog-api-client and x-goog-user-project headers
1525
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1510
1526
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1511
1527
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1512
1528
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1513
1529
  transports_version_send: [:rest]
1514
1530
 
1531
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1515
1532
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1516
1533
 
1517
1534
  options.apply_defaults timeout: @config.rpcs.schedule_delete_certificate_authority.timeout,
@@ -1608,12 +1625,13 @@ module Google
1608
1625
  # Customize the options with defaults
1609
1626
  call_metadata = @config.rpcs.update_certificate_authority.metadata.to_h
1610
1627
 
1611
- # Set x-goog-api-client and x-goog-user-project headers
1628
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1612
1629
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1613
1630
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1614
1631
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1615
1632
  transports_version_send: [:rest]
1616
1633
 
1634
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1617
1635
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1618
1636
 
1619
1637
  options.apply_defaults timeout: @config.rpcs.update_certificate_authority.timeout,
@@ -1688,12 +1706,13 @@ module Google
1688
1706
  # Customize the options with defaults
1689
1707
  call_metadata = @config.rpcs.get_certificate_revocation_list.metadata.to_h
1690
1708
 
1691
- # Set x-goog-api-client and x-goog-user-project headers
1709
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1692
1710
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1693
1711
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1694
1712
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1695
1713
  transports_version_send: [:rest]
1696
1714
 
1715
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1697
1716
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1698
1717
 
1699
1718
  options.apply_defaults timeout: @config.rpcs.get_certificate_revocation_list.timeout,
@@ -1786,12 +1805,13 @@ module Google
1786
1805
  # Customize the options with defaults
1787
1806
  call_metadata = @config.rpcs.list_certificate_revocation_lists.metadata.to_h
1788
1807
 
1789
- # Set x-goog-api-client and x-goog-user-project headers
1808
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1790
1809
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1791
1810
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1792
1811
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1793
1812
  transports_version_send: [:rest]
1794
1813
 
1814
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1795
1815
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1796
1816
 
1797
1817
  options.apply_defaults timeout: @config.rpcs.list_certificate_revocation_lists.timeout,
@@ -1887,12 +1907,13 @@ module Google
1887
1907
  # Customize the options with defaults
1888
1908
  call_metadata = @config.rpcs.update_certificate_revocation_list.metadata.to_h
1889
1909
 
1890
- # Set x-goog-api-client and x-goog-user-project headers
1910
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1891
1911
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1892
1912
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1893
1913
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1894
1914
  transports_version_send: [:rest]
1895
1915
 
1916
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1896
1917
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1897
1918
 
1898
1919
  options.apply_defaults timeout: @config.rpcs.update_certificate_revocation_list.timeout,
@@ -1966,12 +1987,13 @@ module Google
1966
1987
  # Customize the options with defaults
1967
1988
  call_metadata = @config.rpcs.get_reusable_config.metadata.to_h
1968
1989
 
1969
- # Set x-goog-api-client and x-goog-user-project headers
1990
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1970
1991
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1971
1992
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1972
1993
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
1973
1994
  transports_version_send: [:rest]
1974
1995
 
1996
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1975
1997
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1976
1998
 
1977
1999
  options.apply_defaults timeout: @config.rpcs.get_reusable_config.timeout,
@@ -2064,12 +2086,13 @@ module Google
2064
2086
  # Customize the options with defaults
2065
2087
  call_metadata = @config.rpcs.list_reusable_configs.metadata.to_h
2066
2088
 
2067
- # Set x-goog-api-client and x-goog-user-project headers
2089
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2068
2090
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2069
2091
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2070
2092
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
2071
2093
  transports_version_send: [:rest]
2072
2094
 
2095
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2073
2096
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2074
2097
 
2075
2098
  options.apply_defaults timeout: @config.rpcs.list_reusable_configs.timeout,
@@ -27,6 +27,9 @@ module Google
27
27
  module Rest
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "privateca.$UNIVERSE_DOMAIN$"
32
35
 
@@ -182,12 +185,13 @@ module Google
182
185
  # Customize the options with defaults
183
186
  call_metadata = @config.rpcs.list_operations.metadata.to_h
184
187
 
185
- # Set x-goog-api-client and x-goog-user-project headers
188
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
186
189
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
187
190
  lib_name: @config.lib_name, lib_version: @config.lib_version,
188
191
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
189
192
  transports_version_send: [:rest]
190
193
 
194
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
191
195
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
192
196
 
193
197
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -270,12 +274,13 @@ module Google
270
274
  # Customize the options with defaults
271
275
  call_metadata = @config.rpcs.get_operation.metadata.to_h
272
276
 
273
- # Set x-goog-api-client and x-goog-user-project headers
277
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
274
278
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
279
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
280
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
277
281
  transports_version_send: [:rest]
278
282
 
283
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
284
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
285
 
281
286
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -352,12 +357,13 @@ module Google
352
357
  # Customize the options with defaults
353
358
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
354
359
 
355
- # Set x-goog-api-client and x-goog-user-project headers
360
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
356
361
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
363
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
359
364
  transports_version_send: [:rest]
360
365
 
366
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
361
367
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
362
368
 
363
369
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -439,12 +445,13 @@ module Google
439
445
  # Customize the options with defaults
440
446
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
441
447
 
442
- # 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
443
449
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
451
  gapic_version: ::Google::Cloud::Security::PrivateCA::V1beta1::VERSION,
446
452
  transports_version_send: [:rest]
447
453
 
454
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
448
455
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
449
456
 
450
457
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1beta1
25
- VERSION = "0.9.0"
25
+ VERSION = "0.9.1"
26
26
  end
27
27
  end
28
28
  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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
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
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
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...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
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-security-private_ca-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.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-02-26 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