google-cloud-kms-inventory-v1 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8991d54247b595feb373c98a851644345f862019bfd766d130f6f74d9d71f985
4
- data.tar.gz: 58350a3e0d842550d37e0cba95ceac67287ceaa184ee6edddf3499caf7e39668
3
+ metadata.gz: 9469a612af2e000cf70f1db61958b6064dd0bb35057d87bf4bf6a587d430c7d9
4
+ data.tar.gz: da1dbfbd9525717aaecb82226bb0645141bb58d695d940d532d2e0c5b288e65a
5
5
  SHA512:
6
- metadata.gz: be4af1950ce756e03e59945b19600f495f52af92beebb76bb83049d7dc61d99ad327a13cf499aa2426b067c3f703faa2d37caff101b3e1ce8118638a6356f689
7
- data.tar.gz: 818a17a7933852c8e93c93c7063911538f700873b47aae5be69c2c828e7ca8ce963f346d4077e28d4fc74d2f7f33d06a26b5354e69432946fd0d23b85530e2e7
6
+ metadata.gz: 9b4d8eb6f1e365d63774606a08252a3a7aeed04881159ca6edc2f12f1c95841f9aee9e2a8d3eb5a5e39aa78d4b9ed4b558e9b9d9b92bcd9444b79a6356746140
7
+ data.tar.gz: 7c4ecc96b137ad7f7dd98771b813474f2571f9735801190cce3d23807d38890ebdabb49b24af38a39ec90df497f53a9b1834b8b2d1916cedf9591a51419fba97
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 3.0+.
89
+ This library is supported on Ruby 3.2+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -383,6 +383,7 @@ module Google
383
383
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
384
384
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
385
385
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
386
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
386
387
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
387
388
  # trigger a retry.
388
389
  # @return [::Hash]
@@ -466,6 +467,7 @@ module Google
466
467
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
467
468
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
468
469
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
470
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
469
471
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
470
472
  # trigger a retry.
471
473
  #
@@ -343,6 +343,7 @@ module Google
343
343
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
344
344
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
345
345
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
346
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
346
347
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
347
348
  # trigger a retry.
348
349
  # @return [::Hash]
@@ -415,6 +416,7 @@ module Google
415
416
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
416
417
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
417
418
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
419
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
418
420
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
419
421
  # trigger a retry.
420
422
  #
@@ -515,6 +515,7 @@ module Google
515
515
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
516
516
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
517
517
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
518
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
518
519
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
519
520
  # trigger a retry.
520
521
  # @return [::Hash]
@@ -598,6 +599,7 @@ module Google
598
599
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
599
600
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
600
601
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
602
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
601
603
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
602
604
  # trigger a retry.
603
605
  #
@@ -468,6 +468,7 @@ module Google
468
468
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
469
469
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
470
470
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
471
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
471
472
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
472
473
  # trigger a retry.
473
474
  # @return [::Hash]
@@ -540,6 +541,7 @@ module Google
540
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
541
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
542
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
543
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
544
546
  # trigger a retry.
545
547
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Kms
23
23
  module Inventory
24
24
  module V1
25
- VERSION = "0.20.0"
25
+ VERSION = "0.22.0"
26
26
  end
27
27
  end
28
28
  end
@@ -895,6 +895,13 @@ module Google
895
895
  # Output only. The public key with which to wrap key material prior to
896
896
  # import. Only returned if {::Google::Cloud::Kms::V1::ImportJob#state state} is
897
897
  # {::Google::Cloud::Kms::V1::ImportJob::ImportJobState::ACTIVE ACTIVE}.
898
+ # @!attribute [r] public_key_format
899
+ # @return [::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat]
900
+ # Output only. Specifies the
901
+ # {::Google::Cloud::Kms::V1::ImportJob::WrappingPublicKey WrappingPublicKey} format
902
+ # provided by the customer in the
903
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
904
+ # request.
898
905
  # @!attribute [r] attestation
899
906
  # @return [::Google::Cloud::Kms::V1::KeyOperationAttestation]
900
907
  # Output only. Statement that was generated and signed by the key creator
@@ -926,6 +933,19 @@ module Google
926
933
  # Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
927
934
  # [Textual Encoding of Subject Public Key Info]
928
935
  # (https://tools.ietf.org/html/rfc7468#section-13).
936
+ # This field gets populated by default for RSA-based import methods, if no
937
+ # public_key_format is specified in the request.
938
+ # If you want to retrieve the wrapping key of an
939
+ # {::Google::Cloud::Kms::V1::ImportJob ImportJob} in some other format, use
940
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
941
+ # and set the public_key_format to the desired public key format.
942
+ # @!attribute [r] data
943
+ # @return [::String]
944
+ # Output only. Contains the public key, formatted according to the
945
+ # {::Google::Cloud::Kms::V1::PublicKey::PublicKeyFormat PublicKey.PublicKeyFormat}
946
+ # specified in the
947
+ # [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]
948
+ # request.
929
949
  class WrappingPublicKey
930
950
  include ::Google::Protobuf::MessageExts
931
951
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -981,6 +1001,33 @@ module Google
981
1001
  # to technical limitations of RSA wrapping, this method cannot be used to
982
1002
  # wrap RSA keys for import.
983
1003
  RSA_OAEP_4096_SHA256 = 6
1004
+
1005
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1006
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1007
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1008
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1009
+ # the receiver’s public key with the help of the ML-KEM-768 KEM. For more
1010
+ # details, see the [ML-KEM HPKE
1011
+ # standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).
1012
+ HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM = 8
1013
+
1014
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1015
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1016
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1017
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1018
+ # the receiver’s public key with the help of the ML-KEM-1024 KEM. For more
1019
+ # details, see the [ML-KEM HPKE
1020
+ # standard](http://datatracker.ietf.org/doc/draft-ietf-hpke-pq/01/).
1021
+ HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM = 9
1022
+
1023
+ # Represents the Hybrid Public Key Encryption (HPKE) Scheme originally
1024
+ # defined in [RFC 9180](https://www.rfc-editor.org/rfc/rfc9180). It
1025
+ # involves wrapping the raw key with an ephemeral AES key, derived with
1026
+ # HKDF-SHA256 from an encryption context, that is, in turn obtained from
1027
+ # the receiver’s public key with the help of the X-Wing hybrid KEM. For
1028
+ # more details, see the [X-Wing
1029
+ # standard](http://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/09/).
1030
+ HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM = 10
984
1031
  end
985
1032
 
986
1033
  # The state of the {::Google::Cloud::Kms::V1::ImportJob ImportJob}, indicating if
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms-inventory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.2'
18
+ version: '1.3'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.2'
25
+ version: '1.3'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement