google-cloud-secret_manager-v1 0.11.0 → 0.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65ef5dc2c962faeea9eb0ac377b65a01df19a17c2b83d4774da90aedd61421eb
|
4
|
+
data.tar.gz: 887d171eb7f4f35245332df81c5ea60a84d20c339b8e9726b791d14ed331f778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00fbb7e81f11f579e0f0c405146bc9050cd8f3a5bb573538bc163953cd3fdeb80ad7bce9b64b670c0b260a12c34e133e008c2c4499eb53b9056395388f7fdd1a
|
7
|
+
data.tar.gz: 1a8a1bb780e5fba6502d0896857d449cd0ebd342b8f2855188820e7ff27f6ade73604050fbb8c9548804846e64e486df2e35056d896ec6f304848ea7f222654d
|
@@ -47,13 +47,12 @@ module Google
|
|
47
47
|
# See {::Google::Cloud::SecretManager::V1::SecretManagerService::Client::Configuration}
|
48
48
|
# for a description of the configuration fields.
|
49
49
|
#
|
50
|
-
#
|
50
|
+
# @example
|
51
51
|
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
# end
|
52
|
+
# # Modify the configuration for all SecretManagerService clients
|
53
|
+
# ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.configure do |config|
|
54
|
+
# config.timeout = 10.0
|
55
|
+
# end
|
57
56
|
#
|
58
57
|
# @yield [config] Configure the Client client.
|
59
58
|
# @yieldparam config [Client::Configuration]
|
@@ -133,19 +132,15 @@ module Google
|
|
133
132
|
##
|
134
133
|
# Create a new SecretManagerService client object.
|
135
134
|
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# To create a new SecretManagerService client with the default
|
139
|
-
# configuration:
|
140
|
-
#
|
141
|
-
# client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new
|
135
|
+
# @example
|
142
136
|
#
|
143
|
-
#
|
144
|
-
#
|
137
|
+
# # Create a client using the default configuration
|
138
|
+
# client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new
|
145
139
|
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
140
|
+
# # Create a client using a custom configuration
|
141
|
+
# client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new do |config|
|
142
|
+
# config.timeout = 10.0
|
143
|
+
# end
|
149
144
|
#
|
150
145
|
# @yield [config] Configure the SecretManagerService client.
|
151
146
|
# @yieldparam config [Client::Configuration]
|
@@ -165,10 +160,9 @@ module Google
|
|
165
160
|
|
166
161
|
# Create credentials
|
167
162
|
credentials = @config.credentials
|
168
|
-
# Use self-signed JWT if the
|
163
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
169
164
|
# but only if the default endpoint does not have a region prefix.
|
170
|
-
enable_self_signed_jwt = @config.
|
171
|
-
@config.endpoint == Client.configure.endpoint &&
|
165
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
172
166
|
!@config.endpoint.split(".").first.include?("-")
|
173
167
|
credentials ||= Credentials.default scope: @config.scope,
|
174
168
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -258,7 +252,9 @@ module Google
|
|
258
252
|
options.apply_defaults timeout: @config.rpcs.list_secrets.timeout,
|
259
253
|
metadata: metadata,
|
260
254
|
retry_policy: @config.rpcs.list_secrets.retry_policy
|
261
|
-
|
255
|
+
|
256
|
+
options.apply_defaults timeout: @config.timeout,
|
257
|
+
metadata: @config.metadata,
|
262
258
|
retry_policy: @config.retry_policy
|
263
259
|
|
264
260
|
@secret_manager_service_stub.call_rpc :list_secrets, request, options: options do |response, operation|
|
@@ -334,7 +330,9 @@ module Google
|
|
334
330
|
options.apply_defaults timeout: @config.rpcs.create_secret.timeout,
|
335
331
|
metadata: metadata,
|
336
332
|
retry_policy: @config.rpcs.create_secret.retry_policy
|
337
|
-
|
333
|
+
|
334
|
+
options.apply_defaults timeout: @config.timeout,
|
335
|
+
metadata: @config.metadata,
|
338
336
|
retry_policy: @config.retry_policy
|
339
337
|
|
340
338
|
@secret_manager_service_stub.call_rpc :create_secret, request, options: options do |response, operation|
|
@@ -404,7 +402,9 @@ module Google
|
|
404
402
|
options.apply_defaults timeout: @config.rpcs.add_secret_version.timeout,
|
405
403
|
metadata: metadata,
|
406
404
|
retry_policy: @config.rpcs.add_secret_version.retry_policy
|
407
|
-
|
405
|
+
|
406
|
+
options.apply_defaults timeout: @config.timeout,
|
407
|
+
metadata: @config.metadata,
|
408
408
|
retry_policy: @config.retry_policy
|
409
409
|
|
410
410
|
@secret_manager_service_stub.call_rpc :add_secret_version, request, options: options do |response, operation|
|
@@ -470,7 +470,9 @@ module Google
|
|
470
470
|
options.apply_defaults timeout: @config.rpcs.get_secret.timeout,
|
471
471
|
metadata: metadata,
|
472
472
|
retry_policy: @config.rpcs.get_secret.retry_policy
|
473
|
-
|
473
|
+
|
474
|
+
options.apply_defaults timeout: @config.timeout,
|
475
|
+
metadata: @config.metadata,
|
474
476
|
retry_policy: @config.retry_policy
|
475
477
|
|
476
478
|
@secret_manager_service_stub.call_rpc :get_secret, request, options: options do |response, operation|
|
@@ -538,7 +540,9 @@ module Google
|
|
538
540
|
options.apply_defaults timeout: @config.rpcs.update_secret.timeout,
|
539
541
|
metadata: metadata,
|
540
542
|
retry_policy: @config.rpcs.update_secret.retry_policy
|
541
|
-
|
543
|
+
|
544
|
+
options.apply_defaults timeout: @config.timeout,
|
545
|
+
metadata: @config.metadata,
|
542
546
|
retry_policy: @config.retry_policy
|
543
547
|
|
544
548
|
@secret_manager_service_stub.call_rpc :update_secret, request, options: options do |response, operation|
|
@@ -609,7 +613,9 @@ module Google
|
|
609
613
|
options.apply_defaults timeout: @config.rpcs.delete_secret.timeout,
|
610
614
|
metadata: metadata,
|
611
615
|
retry_policy: @config.rpcs.delete_secret.retry_policy
|
612
|
-
|
616
|
+
|
617
|
+
options.apply_defaults timeout: @config.timeout,
|
618
|
+
metadata: @config.metadata,
|
613
619
|
retry_policy: @config.retry_policy
|
614
620
|
|
615
621
|
@secret_manager_service_stub.call_rpc :delete_secret, request, options: options do |response, operation|
|
@@ -691,7 +697,9 @@ module Google
|
|
691
697
|
options.apply_defaults timeout: @config.rpcs.list_secret_versions.timeout,
|
692
698
|
metadata: metadata,
|
693
699
|
retry_policy: @config.rpcs.list_secret_versions.retry_policy
|
694
|
-
|
700
|
+
|
701
|
+
options.apply_defaults timeout: @config.timeout,
|
702
|
+
metadata: @config.metadata,
|
695
703
|
retry_policy: @config.retry_policy
|
696
704
|
|
697
705
|
@secret_manager_service_stub.call_rpc :list_secret_versions, request, options: options do |response, operation|
|
@@ -765,7 +773,9 @@ module Google
|
|
765
773
|
options.apply_defaults timeout: @config.rpcs.get_secret_version.timeout,
|
766
774
|
metadata: metadata,
|
767
775
|
retry_policy: @config.rpcs.get_secret_version.retry_policy
|
768
|
-
|
776
|
+
|
777
|
+
options.apply_defaults timeout: @config.timeout,
|
778
|
+
metadata: @config.metadata,
|
769
779
|
retry_policy: @config.retry_policy
|
770
780
|
|
771
781
|
@secret_manager_service_stub.call_rpc :get_secret_version, request, options: options do |response, operation|
|
@@ -838,7 +848,9 @@ module Google
|
|
838
848
|
options.apply_defaults timeout: @config.rpcs.access_secret_version.timeout,
|
839
849
|
metadata: metadata,
|
840
850
|
retry_policy: @config.rpcs.access_secret_version.retry_policy
|
841
|
-
|
851
|
+
|
852
|
+
options.apply_defaults timeout: @config.timeout,
|
853
|
+
metadata: @config.metadata,
|
842
854
|
retry_policy: @config.retry_policy
|
843
855
|
|
844
856
|
@secret_manager_service_stub.call_rpc :access_secret_version, request, options: options do |response, operation|
|
@@ -912,7 +924,9 @@ module Google
|
|
912
924
|
options.apply_defaults timeout: @config.rpcs.disable_secret_version.timeout,
|
913
925
|
metadata: metadata,
|
914
926
|
retry_policy: @config.rpcs.disable_secret_version.retry_policy
|
915
|
-
|
927
|
+
|
928
|
+
options.apply_defaults timeout: @config.timeout,
|
929
|
+
metadata: @config.metadata,
|
916
930
|
retry_policy: @config.retry_policy
|
917
931
|
|
918
932
|
@secret_manager_service_stub.call_rpc :disable_secret_version, request, options: options do |response, operation|
|
@@ -986,7 +1000,9 @@ module Google
|
|
986
1000
|
options.apply_defaults timeout: @config.rpcs.enable_secret_version.timeout,
|
987
1001
|
metadata: metadata,
|
988
1002
|
retry_policy: @config.rpcs.enable_secret_version.retry_policy
|
989
|
-
|
1003
|
+
|
1004
|
+
options.apply_defaults timeout: @config.timeout,
|
1005
|
+
metadata: @config.metadata,
|
990
1006
|
retry_policy: @config.retry_policy
|
991
1007
|
|
992
1008
|
@secret_manager_service_stub.call_rpc :enable_secret_version, request, options: options do |response, operation|
|
@@ -1061,7 +1077,9 @@ module Google
|
|
1061
1077
|
options.apply_defaults timeout: @config.rpcs.destroy_secret_version.timeout,
|
1062
1078
|
metadata: metadata,
|
1063
1079
|
retry_policy: @config.rpcs.destroy_secret_version.retry_policy
|
1064
|
-
|
1080
|
+
|
1081
|
+
options.apply_defaults timeout: @config.timeout,
|
1082
|
+
metadata: @config.metadata,
|
1065
1083
|
retry_policy: @config.retry_policy
|
1066
1084
|
|
1067
1085
|
@secret_manager_service_stub.call_rpc :destroy_secret_version, request, options: options do |response, operation|
|
@@ -1137,7 +1155,9 @@ module Google
|
|
1137
1155
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
1138
1156
|
metadata: metadata,
|
1139
1157
|
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
1140
|
-
|
1158
|
+
|
1159
|
+
options.apply_defaults timeout: @config.timeout,
|
1160
|
+
metadata: @config.metadata,
|
1141
1161
|
retry_policy: @config.retry_policy
|
1142
1162
|
|
1143
1163
|
@secret_manager_service_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
@@ -1208,7 +1228,9 @@ module Google
|
|
1208
1228
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
1209
1229
|
metadata: metadata,
|
1210
1230
|
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
1211
|
-
|
1231
|
+
|
1232
|
+
options.apply_defaults timeout: @config.timeout,
|
1233
|
+
metadata: @config.metadata,
|
1212
1234
|
retry_policy: @config.retry_policy
|
1213
1235
|
|
1214
1236
|
@secret_manager_service_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
@@ -1286,7 +1308,9 @@ module Google
|
|
1286
1308
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
1287
1309
|
metadata: metadata,
|
1288
1310
|
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
1289
|
-
|
1311
|
+
|
1312
|
+
options.apply_defaults timeout: @config.timeout,
|
1313
|
+
metadata: @config.metadata,
|
1290
1314
|
retry_policy: @config.retry_policy
|
1291
1315
|
|
1292
1316
|
@secret_manager_service_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
@@ -1310,22 +1334,21 @@ module Google
|
|
1310
1334
|
# Configuration can be applied globally to all clients, or to a single client
|
1311
1335
|
# on construction.
|
1312
1336
|
#
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
#
|
1316
|
-
# to 20 seconds,
|
1317
|
-
#
|
1318
|
-
#
|
1319
|
-
#
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
# end
|
1337
|
+
# @example
|
1338
|
+
#
|
1339
|
+
# # Modify the global config, setting the timeout for
|
1340
|
+
# # list_secrets to 20 seconds,
|
1341
|
+
# # and all remaining timeouts to 10 seconds.
|
1342
|
+
# ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.configure do |config|
|
1343
|
+
# config.timeout = 10.0
|
1344
|
+
# config.rpcs.list_secrets.timeout = 20.0
|
1345
|
+
# end
|
1346
|
+
#
|
1347
|
+
# # Apply the above configuration only to a new client.
|
1348
|
+
# client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new do |config|
|
1349
|
+
# config.timeout = 10.0
|
1350
|
+
# config.rpcs.list_secrets.timeout = 20.0
|
1351
|
+
# end
|
1329
1352
|
#
|
1330
1353
|
# @!attribute [rw] endpoint
|
1331
1354
|
# The hostname or hostname:port of the service endpoint.
|
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.11.
|
4
|
+
version: 0.11.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: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|