google-cloud-secret_manager-v1beta1 0.14.2 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb +33 -15
- data/lib/google/cloud/secret_manager/v1beta1/secret_manager_service/rest/client.rb +33 -15
- data/lib/google/cloud/secret_manager/v1beta1/version.rb +1 -1
- data/lib/google/cloud/secrets/v1beta1/resources_pb.rb +1 -1
- data/lib/google/cloud/secrets/v1beta1/service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 235899af41445cde03889ed86f457fd0316c17245802f30d7a575b3bf821b04e
|
4
|
+
data.tar.gz: eb1e006a6588d02669975026abb7a7e356995cb1c06a9952540e9f1ac2f80256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5b2eb84acb63dbcbba0543885d35b2ad2df5f997b7f4869ddf88218a7de401eeb6a8a6ebcbe7bbadef721150f94536c8ce4ecf7dbef75c39cdfef01bf0b12b0
|
7
|
+
data.tar.gz: a03e87bbc6a649db29f3253e33926fc59ecbdddea37ce69af1c4681def2df8fa327974b24ae8b8ffe736a54129a99f1bb5c6a822778effe92e9a978205366755
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# * {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
|
37
37
|
#
|
38
38
|
class Client
|
39
|
+
# @private
|
40
|
+
API_VERSION = ""
|
41
|
+
|
39
42
|
# @private
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "secretmanager.$UNIVERSE_DOMAIN$"
|
41
44
|
|
@@ -266,10 +269,11 @@ module Google
|
|
266
269
|
# Customize the options with defaults
|
267
270
|
metadata = @config.rpcs.list_secrets.metadata.to_h
|
268
271
|
|
269
|
-
# Set x-goog-api-client
|
272
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
270
273
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
271
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
272
275
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
276
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
273
277
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
274
278
|
|
275
279
|
header_params = {}
|
@@ -361,10 +365,11 @@ module Google
|
|
361
365
|
# Customize the options with defaults
|
362
366
|
metadata = @config.rpcs.create_secret.metadata.to_h
|
363
367
|
|
364
|
-
# Set x-goog-api-client
|
368
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
365
369
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
366
370
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
367
371
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
372
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
368
373
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
369
374
|
|
370
375
|
header_params = {}
|
@@ -450,10 +455,11 @@ module Google
|
|
450
455
|
# Customize the options with defaults
|
451
456
|
metadata = @config.rpcs.add_secret_version.metadata.to_h
|
452
457
|
|
453
|
-
# Set x-goog-api-client
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
454
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
456
461
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
457
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
458
464
|
|
459
465
|
header_params = {}
|
@@ -535,10 +541,11 @@ module Google
|
|
535
541
|
# Customize the options with defaults
|
536
542
|
metadata = @config.rpcs.get_secret.metadata.to_h
|
537
543
|
|
538
|
-
# Set x-goog-api-client
|
544
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
539
545
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
540
546
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
541
547
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
548
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
542
549
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
543
550
|
|
544
551
|
header_params = {}
|
@@ -622,10 +629,11 @@ module Google
|
|
622
629
|
# Customize the options with defaults
|
623
630
|
metadata = @config.rpcs.update_secret.metadata.to_h
|
624
631
|
|
625
|
-
# Set x-goog-api-client
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
626
633
|
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::SecretManager::V1beta1::VERSION
|
636
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
629
637
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
630
638
|
|
631
639
|
header_params = {}
|
@@ -708,10 +716,11 @@ module Google
|
|
708
716
|
# Customize the options with defaults
|
709
717
|
metadata = @config.rpcs.delete_secret.metadata.to_h
|
710
718
|
|
711
|
-
# Set x-goog-api-client
|
719
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
712
720
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
713
721
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
714
722
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
723
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
715
724
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
716
725
|
|
717
726
|
header_params = {}
|
@@ -807,10 +816,11 @@ module Google
|
|
807
816
|
# Customize the options with defaults
|
808
817
|
metadata = @config.rpcs.list_secret_versions.metadata.to_h
|
809
818
|
|
810
|
-
# Set x-goog-api-client
|
819
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
811
820
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
812
821
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
813
822
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
823
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
814
824
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
815
825
|
|
816
826
|
header_params = {}
|
@@ -899,10 +909,11 @@ module Google
|
|
899
909
|
# Customize the options with defaults
|
900
910
|
metadata = @config.rpcs.get_secret_version.metadata.to_h
|
901
911
|
|
902
|
-
# Set x-goog-api-client
|
912
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
903
913
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
904
914
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
905
915
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
916
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
906
917
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
907
918
|
|
908
919
|
header_params = {}
|
@@ -988,10 +999,11 @@ module Google
|
|
988
999
|
# Customize the options with defaults
|
989
1000
|
metadata = @config.rpcs.access_secret_version.metadata.to_h
|
990
1001
|
|
991
|
-
# Set x-goog-api-client
|
1002
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
992
1003
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
993
1004
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
994
1005
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1006
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
995
1007
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
996
1008
|
|
997
1009
|
header_params = {}
|
@@ -1077,10 +1089,11 @@ module Google
|
|
1077
1089
|
# Customize the options with defaults
|
1078
1090
|
metadata = @config.rpcs.disable_secret_version.metadata.to_h
|
1079
1091
|
|
1080
|
-
# Set x-goog-api-client
|
1092
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1081
1093
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1082
1094
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1083
1095
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1096
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1084
1097
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1085
1098
|
|
1086
1099
|
header_params = {}
|
@@ -1166,10 +1179,11 @@ module Google
|
|
1166
1179
|
# Customize the options with defaults
|
1167
1180
|
metadata = @config.rpcs.enable_secret_version.metadata.to_h
|
1168
1181
|
|
1169
|
-
# Set x-goog-api-client
|
1182
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1170
1183
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1171
1184
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1172
1185
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1186
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1173
1187
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1174
1188
|
|
1175
1189
|
header_params = {}
|
@@ -1256,10 +1270,11 @@ module Google
|
|
1256
1270
|
# Customize the options with defaults
|
1257
1271
|
metadata = @config.rpcs.destroy_secret_version.metadata.to_h
|
1258
1272
|
|
1259
|
-
# Set x-goog-api-client
|
1273
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1260
1274
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1261
1275
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1262
1276
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1277
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1263
1278
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1264
1279
|
|
1265
1280
|
header_params = {}
|
@@ -1357,10 +1372,11 @@ module Google
|
|
1357
1372
|
# Customize the options with defaults
|
1358
1373
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1359
1374
|
|
1360
|
-
# Set x-goog-api-client
|
1375
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1361
1376
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1362
1377
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1363
1378
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1379
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1364
1380
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1365
1381
|
|
1366
1382
|
header_params = {}
|
@@ -1447,10 +1463,11 @@ module Google
|
|
1447
1463
|
# Customize the options with defaults
|
1448
1464
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1449
1465
|
|
1450
|
-
# Set x-goog-api-client
|
1466
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1451
1467
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1452
1468
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1453
1469
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1470
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1454
1471
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1455
1472
|
|
1456
1473
|
header_params = {}
|
@@ -1544,10 +1561,11 @@ module Google
|
|
1544
1561
|
# Customize the options with defaults
|
1545
1562
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1546
1563
|
|
1547
|
-
# Set x-goog-api-client
|
1564
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1548
1565
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1549
1566
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1550
1567
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
|
1568
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1551
1569
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1552
1570
|
|
1553
1571
|
header_params = {}
|
@@ -38,6 +38,9 @@ module Google
|
|
38
38
|
# * {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
|
39
39
|
#
|
40
40
|
class Client
|
41
|
+
# @private
|
42
|
+
API_VERSION = ""
|
43
|
+
|
41
44
|
# @private
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "secretmanager.$UNIVERSE_DOMAIN$"
|
43
46
|
|
@@ -258,12 +261,13 @@ module Google
|
|
258
261
|
# Customize the options with defaults
|
259
262
|
call_metadata = @config.rpcs.list_secrets.metadata.to_h
|
260
263
|
|
261
|
-
# Set x-goog-api-client
|
264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
262
265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
263
266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
264
267
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
265
268
|
transports_version_send: [:rest]
|
266
269
|
|
270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
options.apply_defaults timeout: @config.rpcs.list_secrets.timeout,
|
@@ -346,12 +350,13 @@ module Google
|
|
346
350
|
# Customize the options with defaults
|
347
351
|
call_metadata = @config.rpcs.create_secret.metadata.to_h
|
348
352
|
|
349
|
-
# Set x-goog-api-client
|
353
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
350
354
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
351
355
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
352
356
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
353
357
|
transports_version_send: [:rest]
|
354
358
|
|
359
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
355
360
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
356
361
|
|
357
362
|
options.apply_defaults timeout: @config.rpcs.create_secret.timeout,
|
@@ -428,12 +433,13 @@ module Google
|
|
428
433
|
# Customize the options with defaults
|
429
434
|
call_metadata = @config.rpcs.add_secret_version.metadata.to_h
|
430
435
|
|
431
|
-
# Set x-goog-api-client
|
436
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
432
437
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
433
438
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
434
439
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
435
440
|
transports_version_send: [:rest]
|
436
441
|
|
442
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
437
443
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
438
444
|
|
439
445
|
options.apply_defaults timeout: @config.rpcs.add_secret_version.timeout,
|
@@ -506,12 +512,13 @@ module Google
|
|
506
512
|
# Customize the options with defaults
|
507
513
|
call_metadata = @config.rpcs.get_secret.metadata.to_h
|
508
514
|
|
509
|
-
# Set x-goog-api-client
|
515
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
510
516
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
511
517
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
512
518
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
513
519
|
transports_version_send: [:rest]
|
514
520
|
|
521
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
515
522
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
516
523
|
|
517
524
|
options.apply_defaults timeout: @config.rpcs.get_secret.timeout,
|
@@ -586,12 +593,13 @@ module Google
|
|
586
593
|
# Customize the options with defaults
|
587
594
|
call_metadata = @config.rpcs.update_secret.metadata.to_h
|
588
595
|
|
589
|
-
# Set x-goog-api-client
|
596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
590
597
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
591
598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
592
599
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
593
600
|
transports_version_send: [:rest]
|
594
601
|
|
602
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
595
603
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
596
604
|
|
597
605
|
options.apply_defaults timeout: @config.rpcs.update_secret.timeout,
|
@@ -665,12 +673,13 @@ module Google
|
|
665
673
|
# Customize the options with defaults
|
666
674
|
call_metadata = @config.rpcs.delete_secret.metadata.to_h
|
667
675
|
|
668
|
-
# Set x-goog-api-client
|
676
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
669
677
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
670
678
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
671
679
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
672
680
|
transports_version_send: [:rest]
|
673
681
|
|
682
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
674
683
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
675
684
|
|
676
685
|
options.apply_defaults timeout: @config.rpcs.delete_secret.timeout,
|
@@ -757,12 +766,13 @@ module Google
|
|
757
766
|
# Customize the options with defaults
|
758
767
|
call_metadata = @config.rpcs.list_secret_versions.metadata.to_h
|
759
768
|
|
760
|
-
# Set x-goog-api-client
|
769
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
761
770
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
762
771
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
763
772
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
764
773
|
transports_version_send: [:rest]
|
765
774
|
|
775
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
766
776
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
767
777
|
|
768
778
|
options.apply_defaults timeout: @config.rpcs.list_secret_versions.timeout,
|
@@ -842,12 +852,13 @@ module Google
|
|
842
852
|
# Customize the options with defaults
|
843
853
|
call_metadata = @config.rpcs.get_secret_version.metadata.to_h
|
844
854
|
|
845
|
-
# Set x-goog-api-client
|
855
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
846
856
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
847
857
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
848
858
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
849
859
|
transports_version_send: [:rest]
|
850
860
|
|
861
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
851
862
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
852
863
|
|
853
864
|
options.apply_defaults timeout: @config.rpcs.get_secret_version.timeout,
|
@@ -924,12 +935,13 @@ module Google
|
|
924
935
|
# Customize the options with defaults
|
925
936
|
call_metadata = @config.rpcs.access_secret_version.metadata.to_h
|
926
937
|
|
927
|
-
# Set x-goog-api-client
|
938
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
928
939
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
929
940
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
930
941
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
931
942
|
transports_version_send: [:rest]
|
932
943
|
|
944
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
933
945
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
934
946
|
|
935
947
|
options.apply_defaults timeout: @config.rpcs.access_secret_version.timeout,
|
@@ -1006,12 +1018,13 @@ module Google
|
|
1006
1018
|
# Customize the options with defaults
|
1007
1019
|
call_metadata = @config.rpcs.disable_secret_version.metadata.to_h
|
1008
1020
|
|
1009
|
-
# Set x-goog-api-client
|
1021
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1010
1022
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1011
1023
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1012
1024
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1013
1025
|
transports_version_send: [:rest]
|
1014
1026
|
|
1027
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1015
1028
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1016
1029
|
|
1017
1030
|
options.apply_defaults timeout: @config.rpcs.disable_secret_version.timeout,
|
@@ -1088,12 +1101,13 @@ module Google
|
|
1088
1101
|
# Customize the options with defaults
|
1089
1102
|
call_metadata = @config.rpcs.enable_secret_version.metadata.to_h
|
1090
1103
|
|
1091
|
-
# Set x-goog-api-client
|
1104
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1092
1105
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1093
1106
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1094
1107
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1095
1108
|
transports_version_send: [:rest]
|
1096
1109
|
|
1110
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1097
1111
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1098
1112
|
|
1099
1113
|
options.apply_defaults timeout: @config.rpcs.enable_secret_version.timeout,
|
@@ -1171,12 +1185,13 @@ module Google
|
|
1171
1185
|
# Customize the options with defaults
|
1172
1186
|
call_metadata = @config.rpcs.destroy_secret_version.metadata.to_h
|
1173
1187
|
|
1174
|
-
# Set x-goog-api-client
|
1188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1175
1189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1176
1190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1177
1191
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1178
1192
|
transports_version_send: [:rest]
|
1179
1193
|
|
1194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1180
1195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1181
1196
|
|
1182
1197
|
options.apply_defaults timeout: @config.rpcs.destroy_secret_version.timeout,
|
@@ -1265,12 +1280,13 @@ module Google
|
|
1265
1280
|
# Customize the options with defaults
|
1266
1281
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
1267
1282
|
|
1268
|
-
# Set x-goog-api-client
|
1283
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1269
1284
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1270
1285
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1271
1286
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1272
1287
|
transports_version_send: [:rest]
|
1273
1288
|
|
1289
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1274
1290
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1275
1291
|
|
1276
1292
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -1348,12 +1364,13 @@ module Google
|
|
1348
1364
|
# Customize the options with defaults
|
1349
1365
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
1350
1366
|
|
1351
|
-
# Set x-goog-api-client
|
1367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1352
1368
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1353
1369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1354
1370
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1355
1371
|
transports_version_send: [:rest]
|
1356
1372
|
|
1373
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1357
1374
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1358
1375
|
|
1359
1376
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -1438,12 +1455,13 @@ module Google
|
|
1438
1455
|
# Customize the options with defaults
|
1439
1456
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
1440
1457
|
|
1441
|
-
# Set x-goog-api-client
|
1458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1442
1459
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1443
1460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1444
1461
|
gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION,
|
1445
1462
|
transports_version_send: [:rest]
|
1446
1463
|
|
1464
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1447
1465
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1448
1466
|
|
1449
1467
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n,google/cloud/secrets/v1beta1/resources.proto\x12\x1cgoogle.cloud.secrets.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n,google/cloud/secrets/v1beta1/resources.proto\x12\x1cgoogle.cloud.secrets.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x02\n\x06Secret\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x0breplication\x18\x02 \x01(\x0b\x32).google.cloud.secrets.v1beta1.ReplicationB\x06\xe0\x41\x05\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x04 \x03(\x0b\x32\x30.google.cloud.secrets.v1beta1.Secret.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:M\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\"\x90\x03\n\rSecretVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0c\x64\x65stroy_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x31.google.cloud.secrets.v1beta1.SecretVersion.StateB\x03\xe0\x41\x03\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\r\n\tDESTROYED\x10\x03:n\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}\"\xc5\x02\n\x0bReplication\x12H\n\tautomatic\x18\x01 \x01(\x0b\x32\x33.google.cloud.secrets.v1beta1.Replication.AutomaticH\x00\x12M\n\x0cuser_managed\x18\x02 \x01(\x0b\x32\x35.google.cloud.secrets.v1beta1.Replication.UserManagedH\x00\x1a\x0b\n\tAutomatic\x1a\x80\x01\n\x0bUserManaged\x12T\n\x08replicas\x18\x01 \x03(\x0b\x32=.google.cloud.secrets.v1beta1.Replication.UserManaged.ReplicaB\x03\xe0\x41\x02\x1a\x1b\n\x07Replica\x12\x10\n\x08location\x18\x01 \x01(\tB\r\n\x0breplication\"\x1d\n\rSecretPayload\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\xf1\x01\n&com.google.cloud.secretmanager.v1beta1B\x0eResourcesProtoP\x01Z:cloud.google.com/go/secrets/apiv1beta1/secretspb;secretspb\xf8\x01\x01\xa2\x02\x03GSM\xaa\x02\"Google.Cloud.SecretManager.V1Beta1\xca\x02\"Google\\Cloud\\SecretManager\\V1beta1\xea\x02%Google::Cloud::SecretManager::V1beta1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
|
|
15
15
|
require 'google/protobuf/field_mask_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n*google/cloud/secrets/v1beta1/service.proto\x12\x1cgoogle.cloud.secrets.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/secrets/v1beta1/resources.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
18
|
+
descriptor_data = "\n*google/cloud/secrets/v1beta1/service.proto\x12\x1cgoogle.cloud.secrets.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/secrets/v1beta1/resources.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8a\x01\n\x12ListSecretsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x13ListSecretsResponse\x12\x35\n\x07secrets\x18\x01 \x03(\x0b\x32$.google.cloud.secrets.v1beta1.Secret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\xad\x01\n\x13\x43reateSecretRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tsecret_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06secret\x18\x03 \x01(\x0b\x32$.google.cloud.secrets.v1beta1.SecretB\x03\xe0\x41\x02\"\x99\x01\n\x17\x41\x64\x64SecretVersionRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x41\n\x07payload\x18\x02 \x01(\x0b\x32+.google.cloud.secrets.v1beta1.SecretPayloadB\x03\xe0\x41\x02\"M\n\x10GetSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\"\x89\x01\n\x19ListSecretVersionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x88\x01\n\x1aListSecretVersionsResponse\x12=\n\x08versions\x18\x01 \x03(\x0b\x32+.google.cloud.secrets.v1beta1.SecretVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"[\n\x17GetSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x86\x01\n\x13UpdateSecretRequest\x12\x39\n\x06secret\x18\x01 \x01(\x0b\x32$.google.cloud.secrets.v1beta1.SecretB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"^\n\x1a\x41\x63\x63\x65ssSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x9a\x01\n\x1b\x41\x63\x63\x65ssSecretVersionResponse\x12=\n\x04name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12<\n\x07payload\x18\x02 \x01(\x0b\x32+.google.cloud.secrets.v1beta1.SecretPayload\"P\n\x13\x44\x65leteSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\"_\n\x1b\x44isableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"^\n\x1a\x45nableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"_\n\x1b\x44\x65stroySecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion2\x83\x16\n\x14SecretManagerService\x12\xa9\x01\n\x0bListSecrets\x12\x30.google.cloud.secrets.v1beta1.ListSecretsRequest\x1a\x31.google.cloud.secrets.v1beta1.ListSecretsResponse\"5\xda\x41\x06parent\x82\xd3\xe4\x93\x02&\x12$/v1beta1/{parent=projects/*}/secrets\x12\xb7\x01\n\x0c\x43reateSecret\x12\x31.google.cloud.secrets.v1beta1.CreateSecretRequest\x1a$.google.cloud.secrets.v1beta1.Secret\"N\xda\x41\x17parent,secret_id,secret\x82\xd3\xe4\x93\x02.\"$/v1beta1/{parent=projects/*}/secrets:\x06secret\x12\xc5\x01\n\x10\x41\x64\x64SecretVersion\x12\x35.google.cloud.secrets.v1beta1.AddSecretVersionRequest\x1a+.google.cloud.secrets.v1beta1.SecretVersion\"M\xda\x41\x0eparent,payload\x82\xd3\xe4\x93\x02\x36\"1/v1beta1/{parent=projects/*/secrets/*}:addVersion:\x01*\x12\x96\x01\n\tGetSecret\x12..google.cloud.secrets.v1beta1.GetSecretRequest\x1a$.google.cloud.secrets.v1beta1.Secret\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&\x12$/v1beta1/{name=projects/*/secrets/*}\x12\xb9\x01\n\x0cUpdateSecret\x12\x31.google.cloud.secrets.v1beta1.UpdateSecretRequest\x1a$.google.cloud.secrets.v1beta1.Secret\"P\xda\x41\x12secret,update_mask\x82\xd3\xe4\x93\x02\x35\x32+/v1beta1/{secret.name=projects/*/secrets/*}:\x06secret\x12\x8e\x01\n\x0c\x44\x65leteSecret\x12\x31.google.cloud.secrets.v1beta1.DeleteSecretRequest\x1a\x16.google.protobuf.Empty\"3\xda\x41\x04name\x82\xd3\xe4\x93\x02&*$/v1beta1/{name=projects/*/secrets/*}\x12\xc9\x01\n\x12ListSecretVersions\x12\x37.google.cloud.secrets.v1beta1.ListSecretVersionsRequest\x1a\x38.google.cloud.secrets.v1beta1.ListSecretVersionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1beta1/{parent=projects/*/secrets/*}/versions\x12\xb6\x01\n\x10GetSecretVersion\x12\x35.google.cloud.secrets.v1beta1.GetSecretVersionRequest\x1a+.google.cloud.secrets.v1beta1.SecretVersion\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1beta1/{name=projects/*/secrets/*/versions/*}\x12\xd1\x01\n\x13\x41\x63\x63\x65ssSecretVersion\x12\x38.google.cloud.secrets.v1beta1.AccessSecretVersionRequest\x1a\x39.google.cloud.secrets.v1beta1.AccessSecretVersionResponse\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta1/{name=projects/*/secrets/*/versions/*}:access\x12\xc9\x01\n\x14\x44isableSecretVersion\x12\x39.google.cloud.secrets.v1beta1.DisableSecretVersionRequest\x1a+.google.cloud.secrets.v1beta1.SecretVersion\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\"7/v1beta1/{name=projects/*/secrets/*/versions/*}:disable:\x01*\x12\xc6\x01\n\x13\x45nableSecretVersion\x12\x38.google.cloud.secrets.v1beta1.EnableSecretVersionRequest\x1a+.google.cloud.secrets.v1beta1.SecretVersion\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v1beta1/{name=projects/*/secrets/*/versions/*}:enable:\x01*\x12\xc9\x01\n\x14\x44\x65stroySecretVersion\x12\x39.google.cloud.secrets.v1beta1.DestroySecretVersionRequest\x1a+.google.cloud.secrets.v1beta1.SecretVersion\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\"7/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy:\x01*\x12\x8b\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"@\x82\xd3\xe4\x93\x02:\"5/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy:\x01*\x12\x88\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy\x12\xb1\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"F\x82\xd3\xe4\x93\x02@\";/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions:\x01*\x1aP\xca\x41\x1csecretmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xef\x01\n&com.google.cloud.secretmanager.v1beta1B\x0cServiceProtoP\x01Z:cloud.google.com/go/secrets/apiv1beta1/secretspb;secretspb\xf8\x01\x01\xa2\x02\x03GSM\xaa\x02\"Google.Cloud.SecretManager.V1Beta1\xca\x02\"Google\\Cloud\\SecretManager\\V1beta1\xea\x02%Google::Cloud::SecretManager::V1beta1b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -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
|
-
#
|
298
|
-
#
|
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
|
-
#
|
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
|
-
#
|
317
|
-
#
|
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'.
|
128
|
-
#
|
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-secret_manager-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,118 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.1'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: google-style
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.26.3
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 1.26.3
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '5.16'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '5.16'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-focus
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.1'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '1.1'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: minitest-rg
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '5.2'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '5.2'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '13.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '13.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: redcarpet
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '3.0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '3.0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: simplecov
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.18'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.18'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yard
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.9'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.9'
|
173
61
|
description: Secret Manager is a secure and convenient storage system for API keys,
|
174
62
|
passwords, certificates, and other sensitive data. Secret Manager provides a central
|
175
63
|
place and single source of truth to manage, access, and audit secrets across Google
|
@@ -226,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
226
114
|
requirements:
|
227
115
|
- - ">="
|
228
116
|
- !ruby/object:Gem::Version
|
229
|
-
version: '2.
|
117
|
+
version: '2.7'
|
230
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
119
|
requirements:
|
232
120
|
- - ">="
|
233
121
|
- !ruby/object:Gem::Version
|
234
122
|
version: '0'
|
235
123
|
requirements: []
|
236
|
-
rubygems_version: 3.5.
|
124
|
+
rubygems_version: 3.5.6
|
237
125
|
signing_key:
|
238
126
|
specification_version: 4
|
239
127
|
summary: Stores sensitive data such as API keys, passwords, and certificates. Provides
|