google-cloud-kms 0.2.4 → 0.2.5

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: 6b7d01a5d0b70c66bcc3e79d1f4a72d6df5345713b0d38a3920d290fa44447af
4
- data.tar.gz: 3f3d4feaa68a0b3f50f887ecd8ecf1821574a2e6e48028d0581c5c4c4cae5d78
3
+ metadata.gz: b44fee1b9c539151217a0a092ee3ab78205b3b324472a1bfe5fb23ee07369625
4
+ data.tar.gz: eff7027cd730b4fb664ca39e14a0a3a4b2de672f7a5da22b3d2019e9bf158844
5
5
  SHA512:
6
- metadata.gz: 8b185904ca8d46aed259be591c89dff15fa8fe5db35c06be2ce90380ed42d9a2e71c2fdfbd619e260c5e461212b22963850303c9f655b95bbdfedf9479a0b826
7
- data.tar.gz: fa91c355968800964cf6d94157d086b085b80055d4b7ad3f100a81bfbd8767a0abaa82dfedef9d9fab71a8b5a03255a8a52284d6df09ccdbf2fcbd471acc75d4
6
+ metadata.gz: 5a2f8c62c4e92325d9d950f77a2eef70151a2cb8ebef66c4d5b7182aaf5eab0da9419f38eb3988435eee5094ac752a94ecf945ac5c46ba08ea8e0d3b8fca4a77
7
+ data.tar.gz: fdd0fc6d28f5982e1586d99bcf835cd6a64060380aef281238be5db7a14d6b30563b3bf43dc4f429bd0818293f766ca03e46c98caf8e7d3e7aed593914839f9b
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  require "google/cloud/kms/v1/key_management_service_client"
17
+ require "google/cloud/kms/v1/helpers"
17
18
  require "google/cloud/kms/v1/service_pb"
18
19
 
19
20
  module Google
@@ -0,0 +1,70 @@
1
+ # Copyright 2018 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # # limitations under the License.
14
+ module Google
15
+ module Cloud
16
+ module Kms
17
+ module V1
18
+ class KeyManagementServiceClient
19
+ # Alias for Google::Cloud::Kms::V1::KeyManagementServiceClient.crypto_key_version_path.
20
+ # @param project [String]
21
+ # @param location [String]
22
+ # @param key_ring [String]
23
+ # @param crypto_key [String]
24
+ # @param crypto_key_version [String]
25
+ # @return [String]
26
+ def crypto_key_version_path project, location, key_ring, crypto_key, crypto_key_version
27
+ self.class.crypto_key_version_path project, location, key_ring, crypto_key, crypto_key_version
28
+ end
29
+
30
+ # Alias for Google::Cloud::Kms::V1::KeyManagementServiceClient.key_ring_path.
31
+ # @param project [String]
32
+ # @param location [String]
33
+ # @param key_ring [String]
34
+ # @return [String]
35
+ def key_ring_path project, location, key_ring
36
+ self.class.key_ring_path project, location, key_ring
37
+ end
38
+
39
+ # Alias for Google::Cloud::Kms::V1::KeyManagementServiceClient.crypto_key_path_path.
40
+ # @param project [String]
41
+ # @param location [String]
42
+ # @param key_ring [String]
43
+ # @param crypto_key_path [String]
44
+ # @return [String]
45
+ def crypto_key_path_path project, location, key_ring, crypto_key_path
46
+ self.class.crypto_key_path_path project, location, key_ring, crypto_key_path
47
+ end
48
+
49
+ # Alias for Google::Cloud::Kms::V1::KeyManagementServiceClient.crypto_key_path.
50
+ # @param project [String]
51
+ # @param location [String]
52
+ # @param key_ring [String]
53
+ # @param crypto_key [String]
54
+ # @return [String]
55
+ def crypto_key_path project, location, key_ring, crypto_key
56
+ self.class.crypto_key_path project, location, key_ring, crypto_key
57
+ end
58
+
59
+ # Alias for Google::Cloud::Kms::V1::KeyManagementServiceClient.location_path.
60
+ # @param project [String]
61
+ # @param location [String]
62
+ # @return [String]
63
+ def location_path project, location
64
+ self.class.location_path project, location
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
70
+ end
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.2.4
4
+ version: 0.2.5
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-09-21 00:00:00.000000000 Z
11
+ date: 2018-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.50.0
75
+ version: 0.59.2
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.50.0
82
+ version: 0.59.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +128,7 @@ files:
128
128
  - lib/google/cloud/kms/v1/doc/google/protobuf/duration.rb
129
129
  - lib/google/cloud/kms/v1/doc/google/protobuf/field_mask.rb
130
130
  - lib/google/cloud/kms/v1/doc/google/protobuf/timestamp.rb
131
+ - lib/google/cloud/kms/v1/helpers.rb
131
132
  - lib/google/cloud/kms/v1/key_management_service_client.rb
132
133
  - lib/google/cloud/kms/v1/key_management_service_client_config.json
133
134
  - lib/google/cloud/kms/v1/resources_pb.rb