google-cloud-kms-v1 0.24.0 → 0.24.1
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/ekm_service/client.rb +14 -14
- data/lib/google/cloud/kms/v1/ekm_service/rest/client.rb +11 -11
- data/lib/google/cloud/kms/v1/ekm_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/kms/v1/key_management_service/client.rb +14 -14
- data/lib/google/cloud/kms/v1/key_management_service/rest/client.rb +11 -11
- data/lib/google/cloud/kms/v1/key_management_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- 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: df794e8e32851bdbf62688b38eedd0ef407924689a649c59b361a4698cb0c380
|
4
|
+
data.tar.gz: 3c852ceb907da597137dcb64d04fa17f854fdb3158a6b084fecc35573586e2fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d14d1b1e52dcd7dfa8e2b6a4606d9f8e516219e75de47122e365af18763553e1d4ab3745c90bf7cd1530065702fa5c117a2eb00bb0f41d73df97b8ed7fb7d05d
|
7
|
+
data.tar.gz: e38a588993ad6dccf5ca1ed5c0c850c7f0d2331275ed77eb3adf5b76e558b718ad1e48900cd6b9016c8cd649343f2e1caadacf375bb554df5401b5270c8f5488
|
@@ -172,20 +172,6 @@ module Google
|
|
172
172
|
@quota_project_id = @config.quota_project
|
173
173
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
174
174
|
|
175
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
176
|
-
config.credentials = credentials
|
177
|
-
config.quota_project = @quota_project_id
|
178
|
-
config.endpoint = @config.endpoint
|
179
|
-
config.universe_domain = @config.universe_domain
|
180
|
-
end
|
181
|
-
|
182
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
183
|
-
config.credentials = credentials
|
184
|
-
config.quota_project = @quota_project_id
|
185
|
-
config.endpoint = @config.endpoint
|
186
|
-
config.universe_domain = @config.universe_domain
|
187
|
-
end
|
188
|
-
|
189
175
|
@ekm_service_stub = ::Gapic::ServiceStub.new(
|
190
176
|
::Google::Cloud::Kms::V1::EkmService::Stub,
|
191
177
|
credentials: credentials,
|
@@ -196,6 +182,20 @@ module Google
|
|
196
182
|
interceptors: @config.interceptors,
|
197
183
|
channel_pool_config: @config.channel_pool
|
198
184
|
)
|
185
|
+
|
186
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
187
|
+
config.credentials = credentials
|
188
|
+
config.quota_project = @quota_project_id
|
189
|
+
config.endpoint = @ekm_service_stub.endpoint
|
190
|
+
config.universe_domain = @ekm_service_stub.universe_domain
|
191
|
+
end
|
192
|
+
|
193
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
194
|
+
config.credentials = credentials
|
195
|
+
config.quota_project = @quota_project_id
|
196
|
+
config.endpoint = @ekm_service_stub.endpoint
|
197
|
+
config.universe_domain = @ekm_service_stub.universe_domain
|
198
|
+
end
|
199
199
|
end
|
200
200
|
|
201
201
|
##
|
@@ -169,28 +169,28 @@ module Google
|
|
169
169
|
@quota_project_id = @config.quota_project
|
170
170
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
171
171
|
|
172
|
+
@ekm_service_stub = ::Google::Cloud::Kms::V1::EkmService::Rest::ServiceStub.new(
|
173
|
+
endpoint: @config.endpoint,
|
174
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
175
|
+
universe_domain: @config.universe_domain,
|
176
|
+
credentials: credentials
|
177
|
+
)
|
178
|
+
|
172
179
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
173
180
|
config.credentials = credentials
|
174
181
|
config.quota_project = @quota_project_id
|
175
|
-
config.endpoint = @
|
176
|
-
config.universe_domain = @
|
182
|
+
config.endpoint = @ekm_service_stub.endpoint
|
183
|
+
config.universe_domain = @ekm_service_stub.universe_domain
|
177
184
|
config.bindings_override = @config.bindings_override
|
178
185
|
end
|
179
186
|
|
180
187
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
181
188
|
config.credentials = credentials
|
182
189
|
config.quota_project = @quota_project_id
|
183
|
-
config.endpoint = @
|
184
|
-
config.universe_domain = @
|
190
|
+
config.endpoint = @ekm_service_stub.endpoint
|
191
|
+
config.universe_domain = @ekm_service_stub.universe_domain
|
185
192
|
config.bindings_override = @config.bindings_override
|
186
193
|
end
|
187
|
-
|
188
|
-
@ekm_service_stub = ::Google::Cloud::Kms::V1::EkmService::Rest::ServiceStub.new(
|
189
|
-
endpoint: @config.endpoint,
|
190
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
191
|
-
universe_domain: @config.universe_domain,
|
192
|
-
credentials: credentials
|
193
|
-
)
|
194
194
|
end
|
195
195
|
|
196
196
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_ekm_connections REST call
|
57
66
|
#
|
@@ -283,20 +283,6 @@ module Google
|
|
283
283
|
@quota_project_id = @config.quota_project
|
284
284
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
285
285
|
|
286
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
287
|
-
config.credentials = credentials
|
288
|
-
config.quota_project = @quota_project_id
|
289
|
-
config.endpoint = @config.endpoint
|
290
|
-
config.universe_domain = @config.universe_domain
|
291
|
-
end
|
292
|
-
|
293
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
294
|
-
config.credentials = credentials
|
295
|
-
config.quota_project = @quota_project_id
|
296
|
-
config.endpoint = @config.endpoint
|
297
|
-
config.universe_domain = @config.universe_domain
|
298
|
-
end
|
299
|
-
|
300
286
|
@key_management_service_stub = ::Gapic::ServiceStub.new(
|
301
287
|
::Google::Cloud::Kms::V1::KeyManagementService::Stub,
|
302
288
|
credentials: credentials,
|
@@ -307,6 +293,20 @@ module Google
|
|
307
293
|
interceptors: @config.interceptors,
|
308
294
|
channel_pool_config: @config.channel_pool
|
309
295
|
)
|
296
|
+
|
297
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
298
|
+
config.credentials = credentials
|
299
|
+
config.quota_project = @quota_project_id
|
300
|
+
config.endpoint = @key_management_service_stub.endpoint
|
301
|
+
config.universe_domain = @key_management_service_stub.universe_domain
|
302
|
+
end
|
303
|
+
|
304
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
305
|
+
config.credentials = credentials
|
306
|
+
config.quota_project = @quota_project_id
|
307
|
+
config.endpoint = @key_management_service_stub.endpoint
|
308
|
+
config.universe_domain = @key_management_service_stub.universe_domain
|
309
|
+
end
|
310
310
|
end
|
311
311
|
|
312
312
|
##
|
@@ -280,28 +280,28 @@ module Google
|
|
280
280
|
@quota_project_id = @config.quota_project
|
281
281
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
282
282
|
|
283
|
+
@key_management_service_stub = ::Google::Cloud::Kms::V1::KeyManagementService::Rest::ServiceStub.new(
|
284
|
+
endpoint: @config.endpoint,
|
285
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
286
|
+
universe_domain: @config.universe_domain,
|
287
|
+
credentials: credentials
|
288
|
+
)
|
289
|
+
|
283
290
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
284
291
|
config.credentials = credentials
|
285
292
|
config.quota_project = @quota_project_id
|
286
|
-
config.endpoint = @
|
287
|
-
config.universe_domain = @
|
293
|
+
config.endpoint = @key_management_service_stub.endpoint
|
294
|
+
config.universe_domain = @key_management_service_stub.universe_domain
|
288
295
|
config.bindings_override = @config.bindings_override
|
289
296
|
end
|
290
297
|
|
291
298
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
292
299
|
config.credentials = credentials
|
293
300
|
config.quota_project = @quota_project_id
|
294
|
-
config.endpoint = @
|
295
|
-
config.universe_domain = @
|
301
|
+
config.endpoint = @key_management_service_stub.endpoint
|
302
|
+
config.universe_domain = @key_management_service_stub.universe_domain
|
296
303
|
config.bindings_override = @config.bindings_override
|
297
304
|
end
|
298
|
-
|
299
|
-
@key_management_service_stub = ::Google::Cloud::Kms::V1::KeyManagementService::Rest::ServiceStub.new(
|
300
|
-
endpoint: @config.endpoint,
|
301
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
302
|
-
universe_domain: @config.universe_domain,
|
303
|
-
credentials: credentials
|
304
|
-
)
|
305
305
|
end
|
306
306
|
|
307
307
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_key_rings REST call
|
57
66
|
#
|
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.24.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|