google-apis-cloudkms_v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88f3e90590107a3b4af302dc8d3e1fe6b3eac48ab9a0130494932edb1fada024
4
- data.tar.gz: e72831537864183e39de92fa1cd3a4909673887bb7472d4bb94aa6f33de36e0c
3
+ metadata.gz: bd553f0ba4e89bfefd11c4df0e0d5cbac3ed9944ca9130d3319d00af3f56e7e0
4
+ data.tar.gz: 87cf424ff24bd0e8a2c08d7fc253ffe71cad855f1f87ac42fcf559214d18b1e3
5
5
  SHA512:
6
- metadata.gz: 9cb404b251da849fbba5c94ae2f1edd28b3bcef3a9faabef0cd917c1adc149b26f2b943edad9f2ecddbbdaf6df8d362c369176771283e9209f4634856c796d77
7
- data.tar.gz: f87ab062898e19fdcf40d4abcb1940c836d7831cff09ef23e14fce3c11706065e13209537deba1a2f956a111847a40ba1a53729cacc1d22194762599765d0414
6
+ metadata.gz: 52487ff1bc1b0888de34830ecb425c2f8e56e18a51e2f28a0763a6111fdc34756c5339d3cb6eaba154eb3be546be744f6564119a4b99211decb9f9f038291727
7
+ data.tar.gz: 967078f6ea202ab61e4a8b3d2aa5705ac699070818854b551e417e4ad8cb089771a6f949670d158b4bcfaa7358e2a354ce896b76d2b5f5f0e7b09b0d6bce21aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.2.0 (2021-01-21)
4
+
5
+ * Regenerated from discovery document revision 20210106
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -85,6 +85,11 @@ module Google
85
85
  # @return [Fixnum]
86
86
  attr_accessor :plaintext_crc32c
87
87
 
88
+ # The ProtectionLevel of the CryptoKeyVersion used in decryption.
89
+ # Corresponds to the JSON property `protectionLevel`
90
+ # @return [String]
91
+ attr_accessor :protection_level
92
+
88
93
  # Integrity verification field. A flag indicating whether
89
94
  # AsymmetricDecryptRequest.ciphertext_crc32c was received by
90
95
  # KeyManagementService and used for the integrity verification of the ciphertext.
@@ -106,6 +111,7 @@ module Google
106
111
  def update!(**args)
107
112
  @plaintext = args[:plaintext] if args.key?(:plaintext)
108
113
  @plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
114
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
109
115
  @verified_ciphertext_crc32c = args[:verified_ciphertext_crc32c] if args.key?(:verified_ciphertext_crc32c)
110
116
  end
111
117
  end
@@ -157,6 +163,11 @@ module Google
157
163
  # @return [String]
158
164
  attr_accessor :name
159
165
 
166
+ # The ProtectionLevel of the CryptoKeyVersion used for signing.
167
+ # Corresponds to the JSON property `protectionLevel`
168
+ # @return [String]
169
+ attr_accessor :protection_level
170
+
160
171
  # The created signature.
161
172
  # Corresponds to the JSON property `signature`
162
173
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -197,6 +208,7 @@ module Google
197
208
  # Update properties of this object
198
209
  def update!(**args)
199
210
  @name = args[:name] if args.key?(:name)
211
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
200
212
  @signature = args[:signature] if args.key?(:signature)
201
213
  @signature_crc32c = args[:signature_crc32c] if args.key?(:signature_crc32c)
202
214
  @verified_digest_crc32c = args[:verified_digest_crc32c] if args.key?(:verified_digest_crc32c)
@@ -684,6 +696,17 @@ module Google
684
696
  # @return [Fixnum]
685
697
  attr_accessor :plaintext_crc32c
686
698
 
699
+ # The ProtectionLevel of the CryptoKeyVersion used in decryption.
700
+ # Corresponds to the JSON property `protectionLevel`
701
+ # @return [String]
702
+ attr_accessor :protection_level
703
+
704
+ # Whether the Decryption was performed using the primary key version.
705
+ # Corresponds to the JSON property `usedPrimary`
706
+ # @return [Boolean]
707
+ attr_accessor :used_primary
708
+ alias_method :used_primary?, :used_primary
709
+
687
710
  def initialize(**args)
688
711
  update!(**args)
689
712
  end
@@ -692,6 +715,8 @@ module Google
692
715
  def update!(**args)
693
716
  @plaintext = args[:plaintext] if args.key?(:plaintext)
694
717
  @plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
718
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
719
+ @used_primary = args[:used_primary] if args.key?(:used_primary)
695
720
  end
696
721
  end
697
722
 
@@ -841,6 +866,11 @@ module Google
841
866
  # @return [String]
842
867
  attr_accessor :name
843
868
 
869
+ # The ProtectionLevel of the CryptoKeyVersion used in encryption.
870
+ # Corresponds to the JSON property `protectionLevel`
871
+ # @return [String]
872
+ attr_accessor :protection_level
873
+
844
874
  # Integrity verification field. A flag indicating whether EncryptRequest.
845
875
  # additional_authenticated_data_crc32c was received by KeyManagementService and
846
876
  # used for the integrity verification of the AAD. A false value of this field
@@ -875,6 +905,7 @@ module Google
875
905
  @ciphertext = args[:ciphertext] if args.key?(:ciphertext)
876
906
  @ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
877
907
  @name = args[:name] if args.key?(:name)
908
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
878
909
  @verified_additional_authenticated_data_crc32c = args[:verified_additional_authenticated_data_crc32c] if args.key?(:verified_additional_authenticated_data_crc32c)
879
910
  @verified_plaintext_crc32c = args[:verified_plaintext_crc32c] if args.key?(:verified_plaintext_crc32c)
880
911
  end
@@ -1512,6 +1543,11 @@ module Google
1512
1543
  # @return [Fixnum]
1513
1544
  attr_accessor :pem_crc32c
1514
1545
 
1546
+ # The ProtectionLevel of the CryptoKeyVersion public key.
1547
+ # Corresponds to the JSON property `protectionLevel`
1548
+ # @return [String]
1549
+ attr_accessor :protection_level
1550
+
1515
1551
  def initialize(**args)
1516
1552
  update!(**args)
1517
1553
  end
@@ -1522,6 +1558,7 @@ module Google
1522
1558
  @name = args[:name] if args.key?(:name)
1523
1559
  @pem = args[:pem] if args.key?(:pem)
1524
1560
  @pem_crc32c = args[:pem_crc32c] if args.key?(:pem_crc32c)
1561
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
1525
1562
  end
1526
1563
  end
1527
1564
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudkmsV1
18
18
  # Version of the google-apis-cloudkms_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201201"
25
+ REVISION = "20210106"
26
26
  end
27
27
  end
28
28
  end
@@ -263,6 +263,7 @@ module Google
263
263
  class Representation < Google::Apis::Core::JsonRepresentation
264
264
  property :plaintext, :base64 => true, as: 'plaintext'
265
265
  property :plaintext_crc32c, :numeric_string => true, as: 'plaintextCrc32c'
266
+ property :protection_level, as: 'protectionLevel'
266
267
  property :verified_ciphertext_crc32c, as: 'verifiedCiphertextCrc32c'
267
268
  end
268
269
  end
@@ -280,6 +281,7 @@ module Google
280
281
  # @private
281
282
  class Representation < Google::Apis::Core::JsonRepresentation
282
283
  property :name, as: 'name'
284
+ property :protection_level, as: 'protectionLevel'
283
285
  property :signature, :base64 => true, as: 'signature'
284
286
  property :signature_crc32c, :numeric_string => true, as: 'signatureCrc32c'
285
287
  property :verified_digest_crc32c, as: 'verifiedDigestCrc32c'
@@ -382,6 +384,8 @@ module Google
382
384
  class Representation < Google::Apis::Core::JsonRepresentation
383
385
  property :plaintext, :base64 => true, as: 'plaintext'
384
386
  property :plaintext_crc32c, :numeric_string => true, as: 'plaintextCrc32c'
387
+ property :protection_level, as: 'protectionLevel'
388
+ property :used_primary, as: 'usedPrimary'
385
389
  end
386
390
  end
387
391
 
@@ -416,6 +420,7 @@ module Google
416
420
  property :ciphertext, :base64 => true, as: 'ciphertext'
417
421
  property :ciphertext_crc32c, :numeric_string => true, as: 'ciphertextCrc32c'
418
422
  property :name, as: 'name'
423
+ property :protection_level, as: 'protectionLevel'
419
424
  property :verified_additional_authenticated_data_crc32c, as: 'verifiedAdditionalAuthenticatedDataCrc32c'
420
425
  property :verified_plaintext_crc32c, as: 'verifiedPlaintextCrc32c'
421
426
  end
@@ -570,6 +575,7 @@ module Google
570
575
  property :name, as: 'name'
571
576
  property :pem, as: 'pem'
572
577
  property :pem_crc32c, :numeric_string => true, as: 'pemCrc32c'
578
+ property :protection_level, as: 'protectionLevel'
573
579
  end
574
580
  end
575
581
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudkms_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudkms_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Key Management Service (KMS) API V1