google-cloud-kms-v1 0.5.0 → 0.6.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/key_management_service/client.rb +2 -1
- data/lib/google/cloud/kms/v1/resources_pb.rb +1 -0
- data/lib/google/cloud/kms/v1/service_services_pb.rb +3 -2
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- data/lib/google/iam/v1/iam_policy_services_pb.rb +1 -1
- data/proto_docs/google/cloud/kms/v1/resources.rb +4 -0
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5037e70b86fc808722a8a1f2937ee740a9cbebd903a72c52ec52a38b4dd7ddd6
|
4
|
+
data.tar.gz: 35707f1908b1330a758109e5f5990b562e909c8bdf0fd0a3907717b504e039d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943f1f9adc9daa3756f786fae9d0956674687ab35890552d6a3dac40f0304a2dc761e7f5dd24738b8c01bb74b61ebd6d631e2aebaf22be2b6abac8c7f53a55db
|
7
|
+
data.tar.gz: e77f44c6fac533bebac6262b074a51738ec7ccde1d89edaa44bf04738cb92ff029fd25b189d5ff4ecc5ec9a4b45bc5294990e3733dec7a001092102be24469be
|
@@ -1973,7 +1973,8 @@ module Google
|
|
1973
1973
|
##
|
1974
1974
|
# Update the version of a {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} that will be used in {::Google::Cloud::Kms::V1::KeyManagementService::Client#encrypt Encrypt}.
|
1975
1975
|
#
|
1976
|
-
# Returns an error if called on
|
1976
|
+
# Returns an error if called on a key whose purpose is not
|
1977
|
+
# {::Google::Cloud::Kms::V1::CryptoKey::CryptoKeyPurpose::ENCRYPT_DECRYPT ENCRYPT_DECRYPT}.
|
1977
1978
|
#
|
1978
1979
|
# @overload update_crypto_key_primary_version(request, options = nil)
|
1979
1980
|
# Pass arguments to `update_crypto_key_primary_version` via a request object, either of type
|
@@ -78,6 +78,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
78
78
|
value :RSA_DECRYPT_OAEP_4096_SHA512, 17
|
79
79
|
value :EC_SIGN_P256_SHA256, 12
|
80
80
|
value :EC_SIGN_P384_SHA384, 13
|
81
|
+
value :EC_SIGN_SECP256K1_SHA256, 31
|
81
82
|
value :EXTERNAL_SYMMETRIC_ENCRYPTION, 18
|
82
83
|
end
|
83
84
|
add_enum "google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState" do
|
@@ -38,7 +38,7 @@ module Google
|
|
38
38
|
# [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
|
39
39
|
class Service
|
40
40
|
|
41
|
-
include GRPC::GenericService
|
41
|
+
include ::GRPC::GenericService
|
42
42
|
|
43
43
|
self.marshal_class_method = :encode
|
44
44
|
self.unmarshal_class_method = :decode
|
@@ -117,7 +117,8 @@ module Google
|
|
117
117
|
rpc :AsymmetricDecrypt, ::Google::Cloud::Kms::V1::AsymmetricDecryptRequest, ::Google::Cloud::Kms::V1::AsymmetricDecryptResponse
|
118
118
|
# Update the version of a [CryptoKey][google.cloud.kms.v1.CryptoKey] that will be used in [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt].
|
119
119
|
#
|
120
|
-
# Returns an error if called on
|
120
|
+
# Returns an error if called on a key whose purpose is not
|
121
|
+
# [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
|
121
122
|
rpc :UpdateCryptoKeyPrimaryVersion, ::Google::Cloud::Kms::V1::UpdateCryptoKeyPrimaryVersionRequest, ::Google::Cloud::Kms::V1::CryptoKey
|
122
123
|
# Schedule a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] for destruction.
|
123
124
|
#
|
@@ -339,6 +339,10 @@ module Google
|
|
339
339
|
# ECDSA on the NIST P-384 curve with a SHA384 digest.
|
340
340
|
EC_SIGN_P384_SHA384 = 13
|
341
341
|
|
342
|
+
# ECDSA on the non-NIST secp256k1 curve. This curve is only supported for
|
343
|
+
# HSM protection level.
|
344
|
+
EC_SIGN_SECP256K1_SHA256 = 31
|
345
|
+
|
342
346
|
# Algorithm representing symmetric encryption by an external key manager.
|
343
347
|
EXTERNAL_SYMMETRIC_ENCRYPTION = 18
|
344
348
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.6.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: 2021-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.5'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,7 +53,7 @@ dependencies:
|
|
47
53
|
version: 0.6.10
|
48
54
|
- - "<"
|
49
55
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
56
|
+
version: 2.a
|
51
57
|
type: :runtime
|
52
58
|
prerelease: false
|
53
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +63,7 @@ dependencies:
|
|
57
63
|
version: 0.6.10
|
58
64
|
- - "<"
|
59
65
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
66
|
+
version: 2.a
|
61
67
|
- !ruby/object:Gem::Dependency
|
62
68
|
name: google-style
|
63
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -229,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
235
|
- !ruby/object:Gem::Version
|
230
236
|
version: '0'
|
231
237
|
requirements: []
|
232
|
-
rubygems_version: 3.2.
|
238
|
+
rubygems_version: 3.2.17
|
233
239
|
signing_key:
|
234
240
|
specification_version: 4
|
235
241
|
summary: API Client library for the Cloud Key Management Service (KMS) V1 API
|