google-cloud-secret_manager-v1 0.21.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ece864f5f498b6ccd0a00df4f877720afc9a02bf7711fc3caf7ceaf56e507e8e
|
|
4
|
+
data.tar.gz: 8a89a12f960edcfba837afb73fc6708ddeab35af468a6c452ef3c653b3b9b858
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52a111d540abd37ae0379cf18051811c348bfe174706812d3c6fec73d888edadba6d53e88211b111d0b5a415506b93245952c8f6eef974151245a772eb1cc8f7
|
|
7
|
+
data.tar.gz: fbc202bf1732052ade3ddf2cb0018fb7a86c0ef7b5d577fad9306e87296eb182e4e3e166ef844357bb2bc5cb277fe22fde286dd5737be28aa59916c62865f8c9
|
|
@@ -37,6 +37,9 @@ module Google
|
|
|
37
37
|
# * {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}
|
|
38
38
|
#
|
|
39
39
|
class Client
|
|
40
|
+
# @private
|
|
41
|
+
API_VERSION = ""
|
|
42
|
+
|
|
40
43
|
# @private
|
|
41
44
|
DEFAULT_ENDPOINT_TEMPLATE = "secretmanager.$UNIVERSE_DOMAIN$"
|
|
42
45
|
|
|
@@ -288,10 +291,11 @@ module Google
|
|
|
288
291
|
# Customize the options with defaults
|
|
289
292
|
metadata = @config.rpcs.list_secrets.metadata.to_h
|
|
290
293
|
|
|
291
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
292
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
293
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
294
297
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
295
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
296
300
|
|
|
297
301
|
header_params = {}
|
|
@@ -386,10 +390,11 @@ module Google
|
|
|
386
390
|
# Customize the options with defaults
|
|
387
391
|
metadata = @config.rpcs.create_secret.metadata.to_h
|
|
388
392
|
|
|
389
|
-
# Set x-goog-api-client
|
|
393
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
390
394
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
391
395
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
392
396
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
397
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
393
398
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
394
399
|
|
|
395
400
|
header_params = {}
|
|
@@ -479,10 +484,11 @@ module Google
|
|
|
479
484
|
# Customize the options with defaults
|
|
480
485
|
metadata = @config.rpcs.add_secret_version.metadata.to_h
|
|
481
486
|
|
|
482
|
-
# Set x-goog-api-client
|
|
487
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
483
488
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
484
489
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
485
490
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
491
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
486
492
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
487
493
|
|
|
488
494
|
header_params = {}
|
|
@@ -566,10 +572,11 @@ module Google
|
|
|
566
572
|
# Customize the options with defaults
|
|
567
573
|
metadata = @config.rpcs.get_secret.metadata.to_h
|
|
568
574
|
|
|
569
|
-
# Set x-goog-api-client
|
|
575
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
570
576
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
571
577
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
572
578
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
579
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
573
580
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
574
581
|
|
|
575
582
|
header_params = {}
|
|
@@ -655,10 +662,11 @@ module Google
|
|
|
655
662
|
# Customize the options with defaults
|
|
656
663
|
metadata = @config.rpcs.update_secret.metadata.to_h
|
|
657
664
|
|
|
658
|
-
# Set x-goog-api-client
|
|
665
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
659
666
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
660
667
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
661
668
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
669
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
662
670
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
663
671
|
|
|
664
672
|
header_params = {}
|
|
@@ -746,10 +754,11 @@ module Google
|
|
|
746
754
|
# Customize the options with defaults
|
|
747
755
|
metadata = @config.rpcs.delete_secret.metadata.to_h
|
|
748
756
|
|
|
749
|
-
# Set x-goog-api-client
|
|
757
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
750
758
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
751
759
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
752
760
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
761
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
753
762
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
754
763
|
|
|
755
764
|
header_params = {}
|
|
@@ -852,10 +861,11 @@ module Google
|
|
|
852
861
|
# Customize the options with defaults
|
|
853
862
|
metadata = @config.rpcs.list_secret_versions.metadata.to_h
|
|
854
863
|
|
|
855
|
-
# Set x-goog-api-client
|
|
864
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
856
865
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
857
866
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
858
867
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
868
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
859
869
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
860
870
|
|
|
861
871
|
header_params = {}
|
|
@@ -950,10 +960,11 @@ module Google
|
|
|
950
960
|
# Customize the options with defaults
|
|
951
961
|
metadata = @config.rpcs.get_secret_version.metadata.to_h
|
|
952
962
|
|
|
953
|
-
# Set x-goog-api-client
|
|
963
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
954
964
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
955
965
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
956
966
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
967
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
957
968
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
958
969
|
|
|
959
970
|
header_params = {}
|
|
@@ -1047,10 +1058,11 @@ module Google
|
|
|
1047
1058
|
# Customize the options with defaults
|
|
1048
1059
|
metadata = @config.rpcs.access_secret_version.metadata.to_h
|
|
1049
1060
|
|
|
1050
|
-
# Set x-goog-api-client
|
|
1061
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1051
1062
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1052
1063
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1053
1064
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1065
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1054
1066
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1055
1067
|
|
|
1056
1068
|
header_params = {}
|
|
@@ -1144,10 +1156,11 @@ module Google
|
|
|
1144
1156
|
# Customize the options with defaults
|
|
1145
1157
|
metadata = @config.rpcs.disable_secret_version.metadata.to_h
|
|
1146
1158
|
|
|
1147
|
-
# Set x-goog-api-client
|
|
1159
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1148
1160
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1149
1161
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1150
1162
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1163
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1151
1164
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1152
1165
|
|
|
1153
1166
|
header_params = {}
|
|
@@ -1241,10 +1254,11 @@ module Google
|
|
|
1241
1254
|
# Customize the options with defaults
|
|
1242
1255
|
metadata = @config.rpcs.enable_secret_version.metadata.to_h
|
|
1243
1256
|
|
|
1244
|
-
# Set x-goog-api-client
|
|
1257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1245
1258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1246
1259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1247
1260
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1248
1262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1249
1263
|
|
|
1250
1264
|
header_params = {}
|
|
@@ -1339,10 +1353,11 @@ module Google
|
|
|
1339
1353
|
# Customize the options with defaults
|
|
1340
1354
|
metadata = @config.rpcs.destroy_secret_version.metadata.to_h
|
|
1341
1355
|
|
|
1342
|
-
# Set x-goog-api-client
|
|
1356
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1343
1357
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1344
1358
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1345
1359
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1360
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1346
1361
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1347
1362
|
|
|
1348
1363
|
header_params = {}
|
|
@@ -1442,10 +1457,11 @@ module Google
|
|
|
1442
1457
|
# Customize the options with defaults
|
|
1443
1458
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1444
1459
|
|
|
1445
|
-
# Set x-goog-api-client
|
|
1460
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1446
1461
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1447
1462
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1448
1463
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1464
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1449
1465
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1450
1466
|
|
|
1451
1467
|
header_params = {}
|
|
@@ -1532,10 +1548,11 @@ module Google
|
|
|
1532
1548
|
# Customize the options with defaults
|
|
1533
1549
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
1534
1550
|
|
|
1535
|
-
# Set x-goog-api-client
|
|
1551
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1536
1552
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1537
1553
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1538
1554
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1555
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1539
1556
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1540
1557
|
|
|
1541
1558
|
header_params = {}
|
|
@@ -1629,10 +1646,11 @@ module Google
|
|
|
1629
1646
|
# Customize the options with defaults
|
|
1630
1647
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1631
1648
|
|
|
1632
|
-
# Set x-goog-api-client
|
|
1649
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1633
1650
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1634
1651
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1635
1652
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION
|
|
1653
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1636
1654
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1637
1655
|
|
|
1638
1656
|
header_params = {}
|
|
@@ -39,6 +39,9 @@ module Google
|
|
|
39
39
|
# * {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}
|
|
40
40
|
#
|
|
41
41
|
class Client
|
|
42
|
+
# @private
|
|
43
|
+
API_VERSION = ""
|
|
44
|
+
|
|
42
45
|
# @private
|
|
43
46
|
DEFAULT_ENDPOINT_TEMPLATE = "secretmanager.$UNIVERSE_DOMAIN$"
|
|
44
47
|
|
|
@@ -281,12 +284,13 @@ module Google
|
|
|
281
284
|
# Customize the options with defaults
|
|
282
285
|
call_metadata = @config.rpcs.list_secrets.metadata.to_h
|
|
283
286
|
|
|
284
|
-
# Set x-goog-api-client
|
|
287
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
285
288
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
286
289
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
287
290
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
288
291
|
transports_version_send: [:rest]
|
|
289
292
|
|
|
293
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
290
294
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
291
295
|
|
|
292
296
|
options.apply_defaults timeout: @config.rpcs.list_secrets.timeout,
|
|
@@ -372,12 +376,13 @@ module Google
|
|
|
372
376
|
# Customize the options with defaults
|
|
373
377
|
call_metadata = @config.rpcs.create_secret.metadata.to_h
|
|
374
378
|
|
|
375
|
-
# Set x-goog-api-client
|
|
379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
376
380
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
377
381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
378
382
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
379
383
|
transports_version_send: [:rest]
|
|
380
384
|
|
|
385
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
381
386
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
382
387
|
|
|
383
388
|
options.apply_defaults timeout: @config.rpcs.create_secret.timeout,
|
|
@@ -458,12 +463,13 @@ module Google
|
|
|
458
463
|
# Customize the options with defaults
|
|
459
464
|
call_metadata = @config.rpcs.add_secret_version.metadata.to_h
|
|
460
465
|
|
|
461
|
-
# Set x-goog-api-client
|
|
466
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
462
467
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
463
468
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
464
469
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
465
470
|
transports_version_send: [:rest]
|
|
466
471
|
|
|
472
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
467
473
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
468
474
|
|
|
469
475
|
options.apply_defaults timeout: @config.rpcs.add_secret_version.timeout,
|
|
@@ -538,12 +544,13 @@ module Google
|
|
|
538
544
|
# Customize the options with defaults
|
|
539
545
|
call_metadata = @config.rpcs.get_secret.metadata.to_h
|
|
540
546
|
|
|
541
|
-
# Set x-goog-api-client
|
|
547
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
542
548
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
543
549
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
544
550
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
545
551
|
transports_version_send: [:rest]
|
|
546
552
|
|
|
553
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
547
554
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
548
555
|
|
|
549
556
|
options.apply_defaults timeout: @config.rpcs.get_secret.timeout,
|
|
@@ -620,12 +627,13 @@ module Google
|
|
|
620
627
|
# Customize the options with defaults
|
|
621
628
|
call_metadata = @config.rpcs.update_secret.metadata.to_h
|
|
622
629
|
|
|
623
|
-
# Set x-goog-api-client
|
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
624
631
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
626
633
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
627
634
|
transports_version_send: [:rest]
|
|
628
635
|
|
|
636
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
629
637
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
630
638
|
|
|
631
639
|
options.apply_defaults timeout: @config.rpcs.update_secret.timeout,
|
|
@@ -704,12 +712,13 @@ module Google
|
|
|
704
712
|
# Customize the options with defaults
|
|
705
713
|
call_metadata = @config.rpcs.delete_secret.metadata.to_h
|
|
706
714
|
|
|
707
|
-
# Set x-goog-api-client
|
|
715
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
708
716
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
709
717
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
710
718
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
711
719
|
transports_version_send: [:rest]
|
|
712
720
|
|
|
721
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
713
722
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
714
723
|
|
|
715
724
|
options.apply_defaults timeout: @config.rpcs.delete_secret.timeout,
|
|
@@ -803,12 +812,13 @@ module Google
|
|
|
803
812
|
# Customize the options with defaults
|
|
804
813
|
call_metadata = @config.rpcs.list_secret_versions.metadata.to_h
|
|
805
814
|
|
|
806
|
-
# Set x-goog-api-client
|
|
815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
807
816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
808
817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
809
818
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
810
819
|
transports_version_send: [:rest]
|
|
811
820
|
|
|
821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
812
822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
813
823
|
|
|
814
824
|
options.apply_defaults timeout: @config.rpcs.list_secret_versions.timeout,
|
|
@@ -894,12 +904,13 @@ module Google
|
|
|
894
904
|
# Customize the options with defaults
|
|
895
905
|
call_metadata = @config.rpcs.get_secret_version.metadata.to_h
|
|
896
906
|
|
|
897
|
-
# Set x-goog-api-client
|
|
907
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
898
908
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
899
909
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
900
910
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
901
911
|
transports_version_send: [:rest]
|
|
902
912
|
|
|
913
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
903
914
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
904
915
|
|
|
905
916
|
options.apply_defaults timeout: @config.rpcs.get_secret_version.timeout,
|
|
@@ -984,12 +995,13 @@ module Google
|
|
|
984
995
|
# Customize the options with defaults
|
|
985
996
|
call_metadata = @config.rpcs.access_secret_version.metadata.to_h
|
|
986
997
|
|
|
987
|
-
# Set x-goog-api-client
|
|
998
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
988
999
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
989
1000
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
990
1001
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
991
1002
|
transports_version_send: [:rest]
|
|
992
1003
|
|
|
1004
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
993
1005
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
994
1006
|
|
|
995
1007
|
options.apply_defaults timeout: @config.rpcs.access_secret_version.timeout,
|
|
@@ -1074,12 +1086,13 @@ module Google
|
|
|
1074
1086
|
# Customize the options with defaults
|
|
1075
1087
|
call_metadata = @config.rpcs.disable_secret_version.metadata.to_h
|
|
1076
1088
|
|
|
1077
|
-
# Set x-goog-api-client
|
|
1089
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1078
1090
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1079
1091
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1080
1092
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1081
1093
|
transports_version_send: [:rest]
|
|
1082
1094
|
|
|
1095
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1083
1096
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1084
1097
|
|
|
1085
1098
|
options.apply_defaults timeout: @config.rpcs.disable_secret_version.timeout,
|
|
@@ -1164,12 +1177,13 @@ module Google
|
|
|
1164
1177
|
# Customize the options with defaults
|
|
1165
1178
|
call_metadata = @config.rpcs.enable_secret_version.metadata.to_h
|
|
1166
1179
|
|
|
1167
|
-
# Set x-goog-api-client
|
|
1180
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1168
1181
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1169
1182
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1170
1183
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1171
1184
|
transports_version_send: [:rest]
|
|
1172
1185
|
|
|
1186
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1173
1187
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1174
1188
|
|
|
1175
1189
|
options.apply_defaults timeout: @config.rpcs.enable_secret_version.timeout,
|
|
@@ -1255,12 +1269,13 @@ module Google
|
|
|
1255
1269
|
# Customize the options with defaults
|
|
1256
1270
|
call_metadata = @config.rpcs.destroy_secret_version.metadata.to_h
|
|
1257
1271
|
|
|
1258
|
-
# Set x-goog-api-client
|
|
1272
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1259
1273
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1260
1274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1261
1275
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1262
1276
|
transports_version_send: [:rest]
|
|
1263
1277
|
|
|
1278
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1264
1279
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1265
1280
|
|
|
1266
1281
|
options.apply_defaults timeout: @config.rpcs.destroy_secret_version.timeout,
|
|
@@ -1351,12 +1366,13 @@ module Google
|
|
|
1351
1366
|
# Customize the options with defaults
|
|
1352
1367
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
|
1353
1368
|
|
|
1354
|
-
# Set x-goog-api-client
|
|
1369
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1355
1370
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1356
1371
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1357
1372
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1358
1373
|
transports_version_send: [:rest]
|
|
1359
1374
|
|
|
1375
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1360
1376
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1361
1377
|
|
|
1362
1378
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
|
@@ -1434,12 +1450,13 @@ module Google
|
|
|
1434
1450
|
# Customize the options with defaults
|
|
1435
1451
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
|
1436
1452
|
|
|
1437
|
-
# Set x-goog-api-client
|
|
1453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1438
1454
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1439
1455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1440
1456
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1441
1457
|
transports_version_send: [:rest]
|
|
1442
1458
|
|
|
1459
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1443
1460
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1444
1461
|
|
|
1445
1462
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
|
@@ -1524,12 +1541,13 @@ module Google
|
|
|
1524
1541
|
# Customize the options with defaults
|
|
1525
1542
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
|
1526
1543
|
|
|
1527
|
-
# Set x-goog-api-client
|
|
1544
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1528
1545
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1529
1546
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1530
1547
|
gapic_version: ::Google::Cloud::SecretManager::V1::VERSION,
|
|
1531
1548
|
transports_version_send: [:rest]
|
|
1532
1549
|
|
|
1550
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1533
1551
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1534
1552
|
|
|
1535
1553
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-secret_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|