google-cloud-kms-v1 0.25.1 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +3 -3
  4. data/lib/google/cloud/kms/v1/autokey/client.rb +713 -0
  5. data/lib/google/cloud/kms/v1/autokey/credentials.rb +52 -0
  6. data/lib/google/cloud/kms/v1/autokey/operations.rb +809 -0
  7. data/lib/google/cloud/kms/v1/autokey/paths.rb +90 -0
  8. data/lib/google/cloud/kms/v1/autokey/rest/client.rb +675 -0
  9. data/lib/google/cloud/kms/v1/autokey/rest/operations.rb +902 -0
  10. data/lib/google/cloud/kms/v1/autokey/rest/service_stub.rb +247 -0
  11. data/lib/google/cloud/kms/v1/autokey/rest.rb +70 -0
  12. data/lib/google/cloud/kms/v1/autokey.rb +72 -0
  13. data/lib/google/cloud/kms/v1/autokey_admin/client.rb +677 -0
  14. data/lib/google/cloud/kms/v1/autokey_admin/credentials.rb +52 -0
  15. data/lib/google/cloud/kms/v1/autokey_admin/paths.rb +61 -0
  16. data/lib/google/cloud/kms/v1/autokey_admin/rest/client.rb +639 -0
  17. data/lib/google/cloud/kms/v1/autokey_admin/rest/service_stub.rb +247 -0
  18. data/lib/google/cloud/kms/v1/autokey_admin/rest.rb +59 -0
  19. data/lib/google/cloud/kms/v1/autokey_admin.rb +61 -0
  20. data/lib/google/cloud/kms/v1/autokey_admin_pb.rb +53 -0
  21. data/lib/google/cloud/kms/v1/autokey_admin_services_pb.rb +62 -0
  22. data/lib/google/cloud/kms/v1/autokey_pb.rb +53 -0
  23. data/lib/google/cloud/kms/v1/autokey_services_pb.rb +71 -0
  24. data/lib/google/cloud/kms/v1/bindings_override.rb +1 -1
  25. data/lib/google/cloud/kms/v1/ekm_service/client.rb +17 -7
  26. data/lib/google/cloud/kms/v1/ekm_service/rest/client.rb +17 -7
  27. data/lib/google/cloud/kms/v1/key_management_service/client.rb +59 -28
  28. data/lib/google/cloud/kms/v1/key_management_service/rest/client.rb +59 -28
  29. data/lib/google/cloud/kms/v1/resources_pb.rb +1 -1
  30. data/lib/google/cloud/kms/v1/rest.rb +3 -1
  31. data/lib/google/cloud/kms/v1/version.rb +1 -1
  32. data/lib/google/cloud/kms/v1.rb +4 -2
  33. data/proto_docs/google/cloud/kms/v1/autokey.rb +123 -0
  34. data/proto_docs/google/cloud/kms/v1/autokey_admin.rb +99 -0
  35. data/proto_docs/google/cloud/kms/v1/resources.rb +3 -0
  36. data/proto_docs/google/longrunning/operations.rb +164 -0
  37. data/proto_docs/google/protobuf/empty.rb +34 -0
  38. data/proto_docs/google/rpc/status.rb +48 -0
  39. metadata +27 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f33dcff93cdc7994aa6b510e957fa89244d74fa076dd18266c4e13dc670b6a53
4
- data.tar.gz: dbea1d961b441a8eacd4430c04df2eab78d392c7030657fc530bf87079bd8d6f
3
+ metadata.gz: 1c3d227ee840ef56231edf0d6ddaed42f1a77eba1c5562379fc301a4697ee1cd
4
+ data.tar.gz: 07f7d111a52fafbad930d954019f85724b148bf0d48ccd028edcfad59ed02051
5
5
  SHA512:
6
- metadata.gz: 69194198ff1164a7aef4d568fb34858eef2c0797d473d01d3a4ddd81eafe1782e785e2364f2eef133ee9bc9343a888b16fafc1f61fbb23f75e9d5d6532f2e49e
7
- data.tar.gz: '099ef7338ec3ce228d98b7b7ec3d818d485321308b36fb39f7fdbcb3e35db3dc65e173b1b43f1cd9a8a93f52641719f1c9c3821f287ee6002feb760a53bd92c0'
6
+ metadata.gz: 18cf3bc96c5b6a2b57ffc204a5715f48c8119f801fe3813fb308ccc607cd257f71ae73e1f2b82e1c5ed2818a12fe38c62a4952fad8c17ced09e6660364b03deb
7
+ data.tar.gz: fe74448f5737d191c99a839ff892085be4fb793e6eb966faf016a5e953068b2b7e71782a3a8cc7b4ea43588abb74fa1bcc262f7c07dba49ab68c57770688778a
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/kms/v1"
58
58
 
59
- client = ::Google::Cloud::Kms::V1::EkmService::Client.new do |config|
59
+ client = ::Google::Cloud::Kms::V1::Autokey::Client.new do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -66,11 +66,11 @@ To configure a credentials file globally for all clients:
66
66
  ```ruby
67
67
  require "google/cloud/kms/v1"
68
68
 
69
- ::Google::Cloud::Kms::V1::EkmService::Client.configure do |config|
69
+ ::Google::Cloud::Kms::V1::Autokey::Client.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = ::Google::Cloud::Kms::V1::EkmService::Client.new
73
+ client = ::Google::Cloud::Kms::V1::Autokey::Client.new
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/kms/v1"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = ::Google::Cloud::Kms::V1::EkmService::Client.new
103
+ client = ::Google::Cloud::Kms::V1::Autokey::Client.new
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -32,9 +32,9 @@ In order to use this library, you first need to go through the following steps:
32
32
  ```ruby
33
33
  require "google/cloud/kms/v1"
34
34
 
35
- client = ::Google::Cloud::Kms::V1::EkmService::Client.new
36
- request = ::Google::Cloud::Kms::V1::ListEkmConnectionsRequest.new # (request fields as keyword arguments...)
37
- response = client.list_ekm_connections request
35
+ client = ::Google::Cloud::Kms::V1::Autokey::Client.new
36
+ request = ::Google::Cloud::Kms::V1::CreateKeyHandleRequest.new # (request fields as keyword arguments...)
37
+ response = client.create_key_handle request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest)