google-cloud-kms 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/kms/v1/key_management_service_client.rb +76 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f391dd4e99a280354b86d21233b533e16183b67bf0dc8cca7c58f2de30846f94
|
4
|
+
data.tar.gz: cef9f42f3d25de0b6403ae37b845ded04417cf12ecf7f50401b4e8bcb7e731ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 510a1f5592306e14753bd115a09747792ef823b78a348c389f9ba2ddde6024f8074ab80a750899fea73c52e70184f6e33d9f4971a8a19d889bfd1086576c9cdf
|
7
|
+
data.tar.gz: f16382a042ec08a0d5010b5d136c9ff3eb87c9fdde7ab1db55a65bb6ce192c7c097405d4f23766e860d28b9b3d1cd593ab03e366245243a5dd8736114bcfbbf6
|
@@ -301,97 +301,154 @@ module Google
|
|
301
301
|
@list_key_rings = Google::Gax.create_api_call(
|
302
302
|
@key_management_service_stub.method(:list_key_rings),
|
303
303
|
defaults["list_key_rings"],
|
304
|
-
exception_transformer: exception_transformer
|
304
|
+
exception_transformer: exception_transformer,
|
305
|
+
params_extractor: proc do |request|
|
306
|
+
{'parent' => request.parent}
|
307
|
+
end
|
305
308
|
)
|
306
309
|
@list_crypto_keys = Google::Gax.create_api_call(
|
307
310
|
@key_management_service_stub.method(:list_crypto_keys),
|
308
311
|
defaults["list_crypto_keys"],
|
309
|
-
exception_transformer: exception_transformer
|
312
|
+
exception_transformer: exception_transformer,
|
313
|
+
params_extractor: proc do |request|
|
314
|
+
{'parent' => request.parent}
|
315
|
+
end
|
310
316
|
)
|
311
317
|
@list_crypto_key_versions = Google::Gax.create_api_call(
|
312
318
|
@key_management_service_stub.method(:list_crypto_key_versions),
|
313
319
|
defaults["list_crypto_key_versions"],
|
314
|
-
exception_transformer: exception_transformer
|
320
|
+
exception_transformer: exception_transformer,
|
321
|
+
params_extractor: proc do |request|
|
322
|
+
{'parent' => request.parent}
|
323
|
+
end
|
315
324
|
)
|
316
325
|
@get_key_ring = Google::Gax.create_api_call(
|
317
326
|
@key_management_service_stub.method(:get_key_ring),
|
318
327
|
defaults["get_key_ring"],
|
319
|
-
exception_transformer: exception_transformer
|
328
|
+
exception_transformer: exception_transformer,
|
329
|
+
params_extractor: proc do |request|
|
330
|
+
{'name' => request.name}
|
331
|
+
end
|
320
332
|
)
|
321
333
|
@get_crypto_key = Google::Gax.create_api_call(
|
322
334
|
@key_management_service_stub.method(:get_crypto_key),
|
323
335
|
defaults["get_crypto_key"],
|
324
|
-
exception_transformer: exception_transformer
|
336
|
+
exception_transformer: exception_transformer,
|
337
|
+
params_extractor: proc do |request|
|
338
|
+
{'name' => request.name}
|
339
|
+
end
|
325
340
|
)
|
326
341
|
@get_crypto_key_version = Google::Gax.create_api_call(
|
327
342
|
@key_management_service_stub.method(:get_crypto_key_version),
|
328
343
|
defaults["get_crypto_key_version"],
|
329
|
-
exception_transformer: exception_transformer
|
344
|
+
exception_transformer: exception_transformer,
|
345
|
+
params_extractor: proc do |request|
|
346
|
+
{'name' => request.name}
|
347
|
+
end
|
330
348
|
)
|
331
349
|
@create_key_ring = Google::Gax.create_api_call(
|
332
350
|
@key_management_service_stub.method(:create_key_ring),
|
333
351
|
defaults["create_key_ring"],
|
334
|
-
exception_transformer: exception_transformer
|
352
|
+
exception_transformer: exception_transformer,
|
353
|
+
params_extractor: proc do |request|
|
354
|
+
{'parent' => request.parent}
|
355
|
+
end
|
335
356
|
)
|
336
357
|
@create_crypto_key = Google::Gax.create_api_call(
|
337
358
|
@key_management_service_stub.method(:create_crypto_key),
|
338
359
|
defaults["create_crypto_key"],
|
339
|
-
exception_transformer: exception_transformer
|
360
|
+
exception_transformer: exception_transformer,
|
361
|
+
params_extractor: proc do |request|
|
362
|
+
{'parent' => request.parent}
|
363
|
+
end
|
340
364
|
)
|
341
365
|
@create_crypto_key_version = Google::Gax.create_api_call(
|
342
366
|
@key_management_service_stub.method(:create_crypto_key_version),
|
343
367
|
defaults["create_crypto_key_version"],
|
344
|
-
exception_transformer: exception_transformer
|
368
|
+
exception_transformer: exception_transformer,
|
369
|
+
params_extractor: proc do |request|
|
370
|
+
{'parent' => request.parent}
|
371
|
+
end
|
345
372
|
)
|
346
373
|
@update_crypto_key = Google::Gax.create_api_call(
|
347
374
|
@key_management_service_stub.method(:update_crypto_key),
|
348
375
|
defaults["update_crypto_key"],
|
349
|
-
exception_transformer: exception_transformer
|
376
|
+
exception_transformer: exception_transformer,
|
377
|
+
params_extractor: proc do |request|
|
378
|
+
{'crypto_key.name' => request.crypto_key.name}
|
379
|
+
end
|
350
380
|
)
|
351
381
|
@update_crypto_key_version = Google::Gax.create_api_call(
|
352
382
|
@key_management_service_stub.method(:update_crypto_key_version),
|
353
383
|
defaults["update_crypto_key_version"],
|
354
|
-
exception_transformer: exception_transformer
|
384
|
+
exception_transformer: exception_transformer,
|
385
|
+
params_extractor: proc do |request|
|
386
|
+
{'crypto_key_version.name' => request.crypto_key_version.name}
|
387
|
+
end
|
355
388
|
)
|
356
389
|
@encrypt = Google::Gax.create_api_call(
|
357
390
|
@key_management_service_stub.method(:encrypt),
|
358
391
|
defaults["encrypt"],
|
359
|
-
exception_transformer: exception_transformer
|
392
|
+
exception_transformer: exception_transformer,
|
393
|
+
params_extractor: proc do |request|
|
394
|
+
{'name' => request.name}
|
395
|
+
end
|
360
396
|
)
|
361
397
|
@decrypt = Google::Gax.create_api_call(
|
362
398
|
@key_management_service_stub.method(:decrypt),
|
363
399
|
defaults["decrypt"],
|
364
|
-
exception_transformer: exception_transformer
|
400
|
+
exception_transformer: exception_transformer,
|
401
|
+
params_extractor: proc do |request|
|
402
|
+
{'name' => request.name}
|
403
|
+
end
|
365
404
|
)
|
366
405
|
@update_crypto_key_primary_version = Google::Gax.create_api_call(
|
367
406
|
@key_management_service_stub.method(:update_crypto_key_primary_version),
|
368
407
|
defaults["update_crypto_key_primary_version"],
|
369
|
-
exception_transformer: exception_transformer
|
408
|
+
exception_transformer: exception_transformer,
|
409
|
+
params_extractor: proc do |request|
|
410
|
+
{'name' => request.name}
|
411
|
+
end
|
370
412
|
)
|
371
413
|
@destroy_crypto_key_version = Google::Gax.create_api_call(
|
372
414
|
@key_management_service_stub.method(:destroy_crypto_key_version),
|
373
415
|
defaults["destroy_crypto_key_version"],
|
374
|
-
exception_transformer: exception_transformer
|
416
|
+
exception_transformer: exception_transformer,
|
417
|
+
params_extractor: proc do |request|
|
418
|
+
{'name' => request.name}
|
419
|
+
end
|
375
420
|
)
|
376
421
|
@restore_crypto_key_version = Google::Gax.create_api_call(
|
377
422
|
@key_management_service_stub.method(:restore_crypto_key_version),
|
378
423
|
defaults["restore_crypto_key_version"],
|
379
|
-
exception_transformer: exception_transformer
|
424
|
+
exception_transformer: exception_transformer,
|
425
|
+
params_extractor: proc do |request|
|
426
|
+
{'name' => request.name}
|
427
|
+
end
|
380
428
|
)
|
381
429
|
@set_iam_policy = Google::Gax.create_api_call(
|
382
430
|
@iam_policy_stub.method(:set_iam_policy),
|
383
431
|
defaults["set_iam_policy"],
|
384
|
-
exception_transformer: exception_transformer
|
432
|
+
exception_transformer: exception_transformer,
|
433
|
+
params_extractor: proc do |request|
|
434
|
+
{'resource' => request.resource}
|
435
|
+
end
|
385
436
|
)
|
386
437
|
@get_iam_policy = Google::Gax.create_api_call(
|
387
438
|
@iam_policy_stub.method(:get_iam_policy),
|
388
439
|
defaults["get_iam_policy"],
|
389
|
-
exception_transformer: exception_transformer
|
440
|
+
exception_transformer: exception_transformer,
|
441
|
+
params_extractor: proc do |request|
|
442
|
+
{'resource' => request.resource}
|
443
|
+
end
|
390
444
|
)
|
391
445
|
@test_iam_permissions = Google::Gax.create_api_call(
|
392
446
|
@iam_policy_stub.method(:test_iam_permissions),
|
393
447
|
defaults["test_iam_permissions"],
|
394
|
-
exception_transformer: exception_transformer
|
448
|
+
exception_transformer: exception_transformer,
|
449
|
+
params_extractor: proc do |request|
|
450
|
+
{'resource' => request.resource}
|
451
|
+
end
|
395
452
|
)
|
396
453
|
end
|
397
454
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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: 2018-07-
|
11
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|