google-cloud-kms-v1 0.16.0 → 0.17.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/bindings_override.rb +231 -0
- data/lib/google/cloud/kms/v1/ekm_service/client.rb +4 -6
- data/lib/google/cloud/kms/v1/ekm_service/rest/client.rb +650 -0
- data/lib/google/cloud/kms/v1/ekm_service/rest/service_stub.rb +286 -0
- data/lib/google/cloud/kms/v1/ekm_service/rest.rb +57 -0
- data/lib/google/cloud/kms/v1/ekm_service.rb +7 -1
- data/lib/google/cloud/kms/v1/key_management_service/client.rb +16 -24
- data/lib/google/cloud/kms/v1/key_management_service/rest/client.rb +2843 -0
- data/lib/google/cloud/kms/v1/key_management_service/rest/service_stub.rb +1599 -0
- data/lib/google/cloud/kms/v1/key_management_service/rest.rb +64 -0
- data/lib/google/cloud/kms/v1/key_management_service.rb +7 -1
- data/lib/google/cloud/kms/v1/rest.rb +39 -0
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- data/lib/google/cloud/kms/v1.rb +7 -2
- metadata +19 -11
@@ -0,0 +1,64 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/kms/v1/version"
|
24
|
+
require "google/cloud/kms/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/kms/v1/key_management_service/credentials"
|
27
|
+
require "google/cloud/kms/v1/key_management_service/paths"
|
28
|
+
require "google/cloud/kms/v1/key_management_service/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Kms
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# Google Cloud Key Management Service
|
36
|
+
#
|
37
|
+
# Manages cryptographic keys and operations using those keys. Implements a REST
|
38
|
+
# model with the following objects:
|
39
|
+
#
|
40
|
+
# * {::Google::Cloud::Kms::V1::KeyRing KeyRing}
|
41
|
+
# * {::Google::Cloud::Kms::V1::CryptoKey CryptoKey}
|
42
|
+
# * {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}
|
43
|
+
# * {::Google::Cloud::Kms::V1::ImportJob ImportJob}
|
44
|
+
#
|
45
|
+
# If you are using manual gRPC libraries, see
|
46
|
+
# [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
|
47
|
+
#
|
48
|
+
# To load this service and instantiate a REST client:
|
49
|
+
#
|
50
|
+
# require "google/cloud/kms/v1/key_management_service/rest"
|
51
|
+
# client = ::Google::Cloud::Kms::V1::KeyManagementService::Rest::Client.new
|
52
|
+
#
|
53
|
+
module KeyManagementService
|
54
|
+
# Client for the REST transport
|
55
|
+
module Rest
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
64
|
+
require "google/cloud/kms/v1/key_management_service/rest/helpers" if ::File.file? helper_path
|
@@ -25,6 +25,7 @@ require "google/cloud/kms/v1/version"
|
|
25
25
|
require "google/cloud/kms/v1/key_management_service/credentials"
|
26
26
|
require "google/cloud/kms/v1/key_management_service/paths"
|
27
27
|
require "google/cloud/kms/v1/key_management_service/client"
|
28
|
+
require "google/cloud/kms/v1/key_management_service/rest"
|
28
29
|
|
29
30
|
module Google
|
30
31
|
module Cloud
|
@@ -44,11 +45,16 @@ module Google
|
|
44
45
|
# If you are using manual gRPC libraries, see
|
45
46
|
# [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @example Load this service and instantiate a gRPC client
|
48
49
|
#
|
49
50
|
# require "google/cloud/kms/v1/key_management_service"
|
50
51
|
# client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new
|
51
52
|
#
|
53
|
+
# @example Load this service and instantiate a REST client
|
54
|
+
#
|
55
|
+
# require "google/cloud/kms/v1/key_management_service/rest"
|
56
|
+
# client = ::Google::Cloud::Kms::V1::KeyManagementService::Rest::Client.new
|
57
|
+
#
|
52
58
|
module KeyManagementService
|
53
59
|
end
|
54
60
|
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/kms/v1/ekm_service/rest"
|
20
|
+
require "google/cloud/kms/v1/key_management_service/rest"
|
21
|
+
require "google/cloud/kms/v1/bindings_override"
|
22
|
+
require "google/cloud/kms/v1/version"
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module Kms
|
27
|
+
##
|
28
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
29
|
+
#
|
30
|
+
# @example
|
31
|
+
#
|
32
|
+
# require "google/cloud/kms/v1/rest"
|
33
|
+
# client = ::Google::Cloud::Kms::V1::EkmService::Rest::Client.new
|
34
|
+
#
|
35
|
+
module V1
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/lib/google/cloud/kms/v1.rb
CHANGED
@@ -24,13 +24,18 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module Kms
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/kms/v1"
|
32
32
|
# client = ::Google::Cloud::Kms::V1::EkmService::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/kms/v1"
|
37
|
+
# client = ::Google::Cloud::Kms::V1::EkmService::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V1
|
35
40
|
end
|
36
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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:
|
11
|
+
date: 2023-02-17 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:
|
19
|
+
version: 0.17.1
|
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:
|
29
|
+
version: 0.17.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 2.a
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0.
|
63
|
+
version: '0.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '0.
|
73
|
+
version: '0.4'
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.a
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0.
|
83
|
+
version: '0.4'
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - "~>"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.26.
|
93
|
+
version: 1.26.3
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - "~>"
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.26.
|
100
|
+
version: 1.26.3
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: minitest
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,10 +212,14 @@ files:
|
|
212
212
|
- lib/google-cloud-kms-v1.rb
|
213
213
|
- lib/google/cloud/kms/v1.rb
|
214
214
|
- lib/google/cloud/kms/v1/_helpers.rb
|
215
|
+
- lib/google/cloud/kms/v1/bindings_override.rb
|
215
216
|
- lib/google/cloud/kms/v1/ekm_service.rb
|
216
217
|
- lib/google/cloud/kms/v1/ekm_service/client.rb
|
217
218
|
- lib/google/cloud/kms/v1/ekm_service/credentials.rb
|
218
219
|
- lib/google/cloud/kms/v1/ekm_service/paths.rb
|
220
|
+
- lib/google/cloud/kms/v1/ekm_service/rest.rb
|
221
|
+
- lib/google/cloud/kms/v1/ekm_service/rest/client.rb
|
222
|
+
- lib/google/cloud/kms/v1/ekm_service/rest/service_stub.rb
|
219
223
|
- lib/google/cloud/kms/v1/ekm_service_pb.rb
|
220
224
|
- lib/google/cloud/kms/v1/ekm_service_services_pb.rb
|
221
225
|
- lib/google/cloud/kms/v1/iam_policy.rb
|
@@ -225,7 +229,11 @@ files:
|
|
225
229
|
- lib/google/cloud/kms/v1/key_management_service/client.rb
|
226
230
|
- lib/google/cloud/kms/v1/key_management_service/credentials.rb
|
227
231
|
- lib/google/cloud/kms/v1/key_management_service/paths.rb
|
232
|
+
- lib/google/cloud/kms/v1/key_management_service/rest.rb
|
233
|
+
- lib/google/cloud/kms/v1/key_management_service/rest/client.rb
|
234
|
+
- lib/google/cloud/kms/v1/key_management_service/rest/service_stub.rb
|
228
235
|
- lib/google/cloud/kms/v1/resources_pb.rb
|
236
|
+
- lib/google/cloud/kms/v1/rest.rb
|
229
237
|
- lib/google/cloud/kms/v1/service_pb.rb
|
230
238
|
- lib/google/cloud/kms/v1/service_services_pb.rb
|
231
239
|
- lib/google/cloud/kms/v1/version.rb
|
@@ -262,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
270
|
- !ruby/object:Gem::Version
|
263
271
|
version: '0'
|
264
272
|
requirements: []
|
265
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.4.2
|
266
274
|
signing_key:
|
267
275
|
specification_version: 4
|
268
276
|
summary: API Client library for the Cloud Key Management Service (KMS) V1 API
|