google-apis-cloudkms_v1 0.1.0 → 0.6.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: afcff70fe9872005a25c83f21a0bcc48eae350b168a2dccdcc613d370e722b07
4
+ data.tar.gz: 47ed2284d0445fca93a8ea7e4baa8bb7f36ee9c564469c359e762bf686a63ec5
5
5
  SHA512:
6
- metadata.gz: 9cb404b251da849fbba5c94ae2f1edd28b3bcef3a9faabef0cd917c1adc149b26f2b943edad9f2ecddbbdaf6df8d362c369176771283e9209f4634856c796d77
7
- data.tar.gz: f87ab062898e19fdcf40d4abcb1940c836d7831cff09ef23e14fce3c11706065e13209537deba1a2f956a111847a40ba1a53729cacc1d22194762599765d0414
6
+ metadata.gz: 264d4a733b30dbcdd8f7ac96ad3adfaf1bd90c43a01dd61e0f9e924cca46ef5c96c33dc955e0ccbfcc4e50b5c57696950fe1896a415ccc627d950d525d8820ac
7
+ data.tar.gz: 94232dd2e626b18c2157b98aa53f084ace5da0f039157e834b94fd6b5d85e527af4ad5bc7500c9f4bade6fa0a77756299529f7a70b7a85cb9d751918a1288882
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-04-21)
8
+
9
+ * Regenerated from discovery document revision 20210410
10
+
11
+ ### v0.4.0 (2021-03-24)
12
+
13
+ * Regenerated from discovery document revision 20210312
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.3.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.2.0 (2021-01-21)
21
+
22
+ * Regenerated from discovery document revision 20210106
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # View and manage your keys and secrets stored in Cloud Key Management Service
@@ -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.6.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.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201201"
25
+ REVISION = "20210410"
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
 
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
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.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Key Management Service (KMS) API V1