google-cloud-kms-v1 0.24.0 → 0.24.2
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
- data/proto_docs/google/cloud/kms/v1/resources.rb +11 -7
- 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: 2cdbd7a8cfc91fd2e47053a3e9d97feb015f5154fb64cff99c9c6ead71bce55f
|
4
|
+
data.tar.gz: e2b79ad4b72ca8460d8967ed81f09c63d3193ed9ddb7e09d469cf31ee89e5c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68829db5cd5b566de533a7fc1c349d5097cf8d5b536ac8728da48b208badff0d1a2b7a879ec7b531b96202b5aee35247aec7e1fa908b98104f5669d50b906c1e
|
7
|
+
data.tar.gz: 5b7b334bf926eadf4626e8bf55e6b498c06556062cbbd307790c52ab4345c16c5950ed9dd652187a8b61a02dcd029eb7fde68b561a0cfdcd8539c90f50707af5
|
@@ -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
|
#
|
@@ -625,15 +625,17 @@ module Google
|
|
625
625
|
end
|
626
626
|
end
|
627
627
|
|
628
|
-
# The public
|
628
|
+
# The public keys for a given
|
629
629
|
# {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}. Obtained via
|
630
630
|
# {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}.
|
631
631
|
# @!attribute [rw] pem
|
632
632
|
# @return [::String]
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
633
|
+
# A public key encoded in PEM format, populated only when
|
634
|
+
# {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}
|
635
|
+
# returns one key. For more information, see the [RFC
|
636
|
+
# 7468](https://tools.ietf.org/html/rfc7468) sections for [General
|
637
|
+
# Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual
|
638
|
+
# Encoding of Subject Public Key Info]
|
637
639
|
# (https://tools.ietf.org/html/rfc7468#section-13).
|
638
640
|
# @!attribute [rw] algorithm
|
639
641
|
# @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm]
|
@@ -642,8 +644,10 @@ module Google
|
|
642
644
|
# associated with this key.
|
643
645
|
# @!attribute [rw] pem_crc32c
|
644
646
|
# @return [::Google::Protobuf::Int64Value]
|
645
|
-
# Integrity verification field
|
646
|
-
# {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem}.
|
647
|
+
# Integrity verification field: A CRC32C checksum of the returned
|
648
|
+
# {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem}. It is only populated
|
649
|
+
# when {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}
|
650
|
+
# returns one key. An integrity check of
|
647
651
|
# {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} can be performed by
|
648
652
|
# computing the CRC32C checksum of
|
649
653
|
# {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} and comparing your
|
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.2
|
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-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|