google-cloud-kms-v1 0.10.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c9aa75debb90284f04a7baa175ca0ee720fd361351582da8d612fb46f15a33e
4
- data.tar.gz: d191dc80acfd00a719c5183318d8824ffd8411b87271e3d713360dad9eb56ecc
3
+ metadata.gz: 3f10686db80a964240043f203dded6a9074650cf7f3653cb737c3d3b89f5009b
4
+ data.tar.gz: 9475c9e13b2d034a930443788b4b21cb5219912ec3df417b173dbc2b0fc40a77
5
5
  SHA512:
6
- metadata.gz: 6f8fdd165f18f3943a2f16dc4c9ae812ebe9325a30ec5ff904db2806dfbed564dbb830b2f9714a08274e3d71b1e72f8da2ad6e6b8d67dd13016c980865ebe70c
7
- data.tar.gz: a8a0468c29d0afeaaa14486525f6ebc59cb4b452721415056de9c3dadf7087af64c86a3b555f7301b92aa86b8b3d174d6279a54fd76cc2b80032ecd0635e2e0b
6
+ metadata.gz: 036c2b4564f29cc9f45b284811a19bf320d97d16749869f37fb4f773b412b7d1f9cd8d8f20d725de658b0bac229e76106d14a77d4a35056c06fdf603cf5b6342
7
+ data.tar.gz: ed3f825d6e63158921be8774fffdd52180758a6b725a28ea98bcd4909c001ec9f57d64f7803985e99216cfb25d1ad48c1d8fe21ef3c75dc81c001e601e38a2c2
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export KMS_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/kms/v1"
29
29
 
30
- client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new
30
+ client = ::Google::Cloud::Kms::V1::EkmService::Client.new
31
31
  ```
32
32
 
33
33
  ## Credential Lookup
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-kms-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {::Google::Cloud::Kms::V1::KeyManagementService::Credentials}):
67
+ {::Google::Cloud::Kms::V1::EkmService::Credentials}):
68
68
 
69
69
  * `KMS_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  * `KMS_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/kms/v1"
77
77
 
78
78
  ENV["KMS_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new
80
+ client = ::Google::Cloud::Kms::V1::EkmService::Client.new
81
81
  ```
82
82
 
83
83
  ### Configuration
@@ -88,7 +88,7 @@ it in an environment variable. Either on an individual client initialization:
88
88
  ```ruby
89
89
  require "google/cloud/kms/v1"
90
90
 
91
- client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new do |config|
91
+ client = ::Google::Cloud::Kms::V1::EkmService::Client.new do |config|
92
92
  config.credentials = "path/to/keyfile.json"
93
93
  end
94
94
  ```
@@ -98,11 +98,11 @@ Or globally for all clients:
98
98
  ```ruby
99
99
  require "google/cloud/kms/v1"
100
100
 
101
- ::Google::Cloud::Kms::V1::KeyManagementService::Client.configure do |config|
101
+ ::Google::Cloud::Kms::V1::EkmService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new
105
+ client = ::Google::Cloud::Kms::V1::EkmService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
data/README.md CHANGED
@@ -32,12 +32,12 @@ 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::KeyManagementService::Client.new
36
- request = ::Google::Cloud::Kms::V1::ListKeyRingsRequest.new # (request fields as keyword arguments...)
37
- response = client.list_key_rings request
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
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-kms-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/kms)
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89