google-cloud-secret_manager-v1beta1 0.8.2 → 0.8.3

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: 32e61214038d4d25b620d568426c4923d4a91faba66a2354db6ed5b4306a012f
4
- data.tar.gz: 577bcc44941858bd04636e367c8018473fbd229cff33140062ddb69834488629
3
+ metadata.gz: 83b05eba8c2d655afe44472ddf44e3ea9fffca5b6865e2faf96fed47ca393b61
4
+ data.tar.gz: 73df41c92d9a05672e24a355abd058fcdde110892e8488cb51a630f4cb452384
5
5
  SHA512:
6
- metadata.gz: f3faa94b793f41ab83c4b0bdd1f48409ff0666e854604ca775c25aa62f4ba551aa21c752298d986da031ef17187abf7ee5482791446670b7a8ec2488ece6590c
7
- data.tar.gz: 3990f132fdf52b317e504dace6b7d8708fd26f7e7466af0081b43c4a916fae9f462c725966b392756e9d1f2bc25d721cafc76086c117199ee392d28c5a65fc1a
6
+ metadata.gz: 62baaf204c712f0a249fa24f041c64dc21aa10add8dedca9fa4d1ad95a8b01fbd9834ac00a138697c84310946899f85aa10190230836ef59f697e41ec8d1f83c
7
+ data.tar.gz: 305b41311fa228d555529e3714ad1a2c6cb59bd98693c5e9180396223a91f0d2e74068d0b35aadae6a3aa4b417212f9becad8d5cb0eb70373a2f288ab2ce57ab
@@ -47,13 +47,12 @@ module Google
47
47
  # See {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration}
48
48
  # for a description of the configuration fields.
49
49
  #
50
- # ## Example
50
+ # @example
51
51
  #
52
- # To modify the configuration for all SecretManagerService clients:
53
- #
54
- # ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
55
- # config.timeout = 10.0
56
- # end
52
+ # # Modify the configuration for all SecretManagerService clients
53
+ # ::Google::Cloud::SecretManager::V1beta1::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
- # ## Examples
137
- #
138
- # To create a new SecretManagerService client with the default
139
- # configuration:
140
- #
141
- # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
135
+ # @example
142
136
  #
143
- # To create a new SecretManagerService client with a custom
144
- # configuration:
137
+ # # Create a client using the default configuration
138
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
145
139
  #
146
- # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
147
- # config.timeout = 10.0
148
- # end
140
+ # # Create a client using a custom configuration
141
+ # client = ::Google::Cloud::SecretManager::V1beta1::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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
@@ -252,7 +246,9 @@ module Google
252
246
  options.apply_defaults timeout: @config.rpcs.list_secrets.timeout,
253
247
  metadata: metadata,
254
248
  retry_policy: @config.rpcs.list_secrets.retry_policy
255
- options.apply_defaults metadata: @config.metadata,
249
+
250
+ options.apply_defaults timeout: @config.timeout,
251
+ metadata: @config.metadata,
256
252
  retry_policy: @config.retry_policy
257
253
 
258
254
  @secret_manager_service_stub.call_rpc :list_secrets, request, options: options do |response, operation|
@@ -328,7 +324,9 @@ module Google
328
324
  options.apply_defaults timeout: @config.rpcs.create_secret.timeout,
329
325
  metadata: metadata,
330
326
  retry_policy: @config.rpcs.create_secret.retry_policy
331
- options.apply_defaults metadata: @config.metadata,
327
+
328
+ options.apply_defaults timeout: @config.timeout,
329
+ metadata: @config.metadata,
332
330
  retry_policy: @config.retry_policy
333
331
 
334
332
  @secret_manager_service_stub.call_rpc :create_secret, request, options: options do |response, operation|
@@ -398,7 +396,9 @@ module Google
398
396
  options.apply_defaults timeout: @config.rpcs.add_secret_version.timeout,
399
397
  metadata: metadata,
400
398
  retry_policy: @config.rpcs.add_secret_version.retry_policy
401
- options.apply_defaults metadata: @config.metadata,
399
+
400
+ options.apply_defaults timeout: @config.timeout,
401
+ metadata: @config.metadata,
402
402
  retry_policy: @config.retry_policy
403
403
 
404
404
  @secret_manager_service_stub.call_rpc :add_secret_version, request, options: options do |response, operation|
@@ -464,7 +464,9 @@ module Google
464
464
  options.apply_defaults timeout: @config.rpcs.get_secret.timeout,
465
465
  metadata: metadata,
466
466
  retry_policy: @config.rpcs.get_secret.retry_policy
467
- options.apply_defaults metadata: @config.metadata,
467
+
468
+ options.apply_defaults timeout: @config.timeout,
469
+ metadata: @config.metadata,
468
470
  retry_policy: @config.retry_policy
469
471
 
470
472
  @secret_manager_service_stub.call_rpc :get_secret, request, options: options do |response, operation|
@@ -532,7 +534,9 @@ module Google
532
534
  options.apply_defaults timeout: @config.rpcs.update_secret.timeout,
533
535
  metadata: metadata,
534
536
  retry_policy: @config.rpcs.update_secret.retry_policy
535
- options.apply_defaults metadata: @config.metadata,
537
+
538
+ options.apply_defaults timeout: @config.timeout,
539
+ metadata: @config.metadata,
536
540
  retry_policy: @config.retry_policy
537
541
 
538
542
  @secret_manager_service_stub.call_rpc :update_secret, request, options: options do |response, operation|
@@ -599,7 +603,9 @@ module Google
599
603
  options.apply_defaults timeout: @config.rpcs.delete_secret.timeout,
600
604
  metadata: metadata,
601
605
  retry_policy: @config.rpcs.delete_secret.retry_policy
602
- options.apply_defaults metadata: @config.metadata,
606
+
607
+ options.apply_defaults timeout: @config.timeout,
608
+ metadata: @config.metadata,
603
609
  retry_policy: @config.retry_policy
604
610
 
605
611
  @secret_manager_service_stub.call_rpc :delete_secret, request, options: options do |response, operation|
@@ -675,7 +681,9 @@ module Google
675
681
  options.apply_defaults timeout: @config.rpcs.list_secret_versions.timeout,
676
682
  metadata: metadata,
677
683
  retry_policy: @config.rpcs.list_secret_versions.retry_policy
678
- options.apply_defaults metadata: @config.metadata,
684
+
685
+ options.apply_defaults timeout: @config.timeout,
686
+ metadata: @config.metadata,
679
687
  retry_policy: @config.retry_policy
680
688
 
681
689
  @secret_manager_service_stub.call_rpc :list_secret_versions, request, options: options do |response, operation|
@@ -748,7 +756,9 @@ module Google
748
756
  options.apply_defaults timeout: @config.rpcs.get_secret_version.timeout,
749
757
  metadata: metadata,
750
758
  retry_policy: @config.rpcs.get_secret_version.retry_policy
751
- options.apply_defaults metadata: @config.metadata,
759
+
760
+ options.apply_defaults timeout: @config.timeout,
761
+ metadata: @config.metadata,
752
762
  retry_policy: @config.retry_policy
753
763
 
754
764
  @secret_manager_service_stub.call_rpc :get_secret_version, request, options: options do |response, operation|
@@ -818,7 +828,9 @@ module Google
818
828
  options.apply_defaults timeout: @config.rpcs.access_secret_version.timeout,
819
829
  metadata: metadata,
820
830
  retry_policy: @config.rpcs.access_secret_version.retry_policy
821
- options.apply_defaults metadata: @config.metadata,
831
+
832
+ options.apply_defaults timeout: @config.timeout,
833
+ metadata: @config.metadata,
822
834
  retry_policy: @config.retry_policy
823
835
 
824
836
  @secret_manager_service_stub.call_rpc :access_secret_version, request, options: options do |response, operation|
@@ -888,7 +900,9 @@ module Google
888
900
  options.apply_defaults timeout: @config.rpcs.disable_secret_version.timeout,
889
901
  metadata: metadata,
890
902
  retry_policy: @config.rpcs.disable_secret_version.retry_policy
891
- options.apply_defaults metadata: @config.metadata,
903
+
904
+ options.apply_defaults timeout: @config.timeout,
905
+ metadata: @config.metadata,
892
906
  retry_policy: @config.retry_policy
893
907
 
894
908
  @secret_manager_service_stub.call_rpc :disable_secret_version, request, options: options do |response, operation|
@@ -958,7 +972,9 @@ module Google
958
972
  options.apply_defaults timeout: @config.rpcs.enable_secret_version.timeout,
959
973
  metadata: metadata,
960
974
  retry_policy: @config.rpcs.enable_secret_version.retry_policy
961
- options.apply_defaults metadata: @config.metadata,
975
+
976
+ options.apply_defaults timeout: @config.timeout,
977
+ metadata: @config.metadata,
962
978
  retry_policy: @config.retry_policy
963
979
 
964
980
  @secret_manager_service_stub.call_rpc :enable_secret_version, request, options: options do |response, operation|
@@ -1029,7 +1045,9 @@ module Google
1029
1045
  options.apply_defaults timeout: @config.rpcs.destroy_secret_version.timeout,
1030
1046
  metadata: metadata,
1031
1047
  retry_policy: @config.rpcs.destroy_secret_version.retry_policy
1032
- options.apply_defaults metadata: @config.metadata,
1048
+
1049
+ options.apply_defaults timeout: @config.timeout,
1050
+ metadata: @config.metadata,
1033
1051
  retry_policy: @config.retry_policy
1034
1052
 
1035
1053
  @secret_manager_service_stub.call_rpc :destroy_secret_version, request, options: options do |response, operation|
@@ -1105,7 +1123,9 @@ module Google
1105
1123
  options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
1106
1124
  metadata: metadata,
1107
1125
  retry_policy: @config.rpcs.set_iam_policy.retry_policy
1108
- options.apply_defaults metadata: @config.metadata,
1126
+
1127
+ options.apply_defaults timeout: @config.timeout,
1128
+ metadata: @config.metadata,
1109
1129
  retry_policy: @config.retry_policy
1110
1130
 
1111
1131
  @secret_manager_service_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
@@ -1176,7 +1196,9 @@ module Google
1176
1196
  options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
1177
1197
  metadata: metadata,
1178
1198
  retry_policy: @config.rpcs.get_iam_policy.retry_policy
1179
- options.apply_defaults metadata: @config.metadata,
1199
+
1200
+ options.apply_defaults timeout: @config.timeout,
1201
+ metadata: @config.metadata,
1180
1202
  retry_policy: @config.retry_policy
1181
1203
 
1182
1204
  @secret_manager_service_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
@@ -1254,7 +1276,9 @@ module Google
1254
1276
  options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
1255
1277
  metadata: metadata,
1256
1278
  retry_policy: @config.rpcs.test_iam_permissions.retry_policy
1257
- options.apply_defaults metadata: @config.metadata,
1279
+
1280
+ options.apply_defaults timeout: @config.timeout,
1281
+ metadata: @config.metadata,
1258
1282
  retry_policy: @config.retry_policy
1259
1283
 
1260
1284
  @secret_manager_service_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
@@ -1278,22 +1302,21 @@ module Google
1278
1302
  # Configuration can be applied globally to all clients, or to a single client
1279
1303
  # on construction.
1280
1304
  #
1281
- # # Examples
1282
- #
1283
- # To modify the global config, setting the timeout for list_secrets
1284
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1285
- #
1286
- # ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
1287
- # config.timeout = 10.0
1288
- # config.rpcs.list_secrets.timeout = 20.0
1289
- # end
1290
- #
1291
- # To apply the above configuration only to a new client:
1292
- #
1293
- # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
1294
- # config.timeout = 10.0
1295
- # config.rpcs.list_secrets.timeout = 20.0
1296
- # end
1305
+ # @example
1306
+ #
1307
+ # # Modify the global config, setting the timeout for
1308
+ # # list_secrets to 20 seconds,
1309
+ # # and all remaining timeouts to 10 seconds.
1310
+ # ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
1311
+ # config.timeout = 10.0
1312
+ # config.rpcs.list_secrets.timeout = 20.0
1313
+ # end
1314
+ #
1315
+ # # Apply the above configuration only to a new client.
1316
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
1317
+ # config.timeout = 10.0
1318
+ # config.rpcs.list_secrets.timeout = 20.0
1319
+ # end
1297
1320
  #
1298
1321
  # @!attribute [rw] endpoint
1299
1322
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- VERSION = "0.8.2"
24
+ VERSION = "0.8.3"
25
25
  end
26
26
  end
27
27
  end
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.8.2
4
+ version: 0.8.3
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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a