google-apis-cloudkms_v1 0.74.0 → 0.75.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: e74ec6f470ceb18cc3dee2215b78fa8f723290aa47fb67f0bd0fb70bc2c14036
4
- data.tar.gz: 73d070bb78739de2bc81e4a8f2e3bcc96fd4edfce5274862bed7ae0f7c6dd997
3
+ metadata.gz: 1345eec16e86da3d63b708d635ee349a49485b77540aa3d74ff82576ec667e9a
4
+ data.tar.gz: b69f015621ef9991d0123a50e8c28759542fc139709b34c3c69d118655412995
5
5
  SHA512:
6
- metadata.gz: 2fbec1d0994800efa7ef16f1385835bc92ba813eac41441f583eda39affdd9dcb96d916592b824c4b9ce33075a2a7fe30b7bfa43ff653298853cb6ba3688c29e
7
- data.tar.gz: 2b2e7db0fddec263639db118d9d966e5138f605a146c49832653c682f4b88f33daa1c08ae39a485cc7f77f419d25824ff34756d7220a0357a401803a52291e5a
6
+ metadata.gz: dbb9e76ec55cb286a0b0ecc9199234405fc70581b6470ab5ddef26781df04c9b48839ddc24ef92391fa02bbc8f56b7b3311cc1fc655b72b95c0dd3d3ea246cf4
7
+ data.tar.gz: '08286bd79f6c90749c03b7632406231f7207737d03ec75091d74c515a4af9ac01f2ee8104d050ab71b4ca2c55f7163c67aeef15bb1473030794f9746c9d2d68b'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.75.0 (2026-05-24)
4
+
5
+ * Regenerated from discovery document revision 20260514
6
+
3
7
  ### v0.74.0 (2026-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20260423
@@ -1880,6 +1880,12 @@ module Google
1880
1880
  # @return [Google::Apis::CloudkmsV1::WrappingPublicKey]
1881
1881
  attr_accessor :public_key
1882
1882
 
1883
+ # Output only. Specifies the WrappingPublicKey format provided by the customer
1884
+ # in the KeyManagementService.GetImportJob request.
1885
+ # Corresponds to the JSON property `publicKeyFormat`
1886
+ # @return [String]
1887
+ attr_accessor :public_key_format
1888
+
1883
1889
  # Output only. The current state of the ImportJob, indicating if it can be used.
1884
1890
  # Corresponds to the JSON property `state`
1885
1891
  # @return [String]
@@ -1901,6 +1907,7 @@ module Google
1901
1907
  @name = args[:name] if args.key?(:name)
1902
1908
  @protection_level = args[:protection_level] if args.key?(:protection_level)
1903
1909
  @public_key = args[:public_key] if args.key?(:public_key)
1910
+ @public_key_format = args[:public_key_format] if args.key?(:public_key_format)
1904
1911
  @state = args[:state] if args.key?(:state)
1905
1912
  end
1906
1913
  end
@@ -4126,10 +4133,21 @@ module Google
4126
4133
  class WrappingPublicKey
4127
4134
  include Google::Apis::Core::Hashable
4128
4135
 
4136
+ # Output only. Contains the public key, formatted according to the PublicKey.
4137
+ # PublicKeyFormat specified in the KeyManagementService.GetImportJob request.
4138
+ # Corresponds to the JSON property `data`
4139
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4140
+ # @return [String]
4141
+ attr_accessor :data
4142
+
4129
4143
  # The public key, encoded in PEM format. For more information, see the [RFC 7468]
4130
4144
  # (https://tools.ietf.org/html/rfc7468) sections for [General Considerations](
4131
4145
  # https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of
4132
4146
  # Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
4147
+ # This field gets populated by default for RSA-based import methods, if no
4148
+ # public_key_format is specified in the request. If you want to retrieve the
4149
+ # wrapping key of an ImportJob in some other format, use KeyManagementService.
4150
+ # GetImportJob and set the public_key_format to the desired public key format.
4133
4151
  # Corresponds to the JSON property `pem`
4134
4152
  # @return [String]
4135
4153
  attr_accessor :pem
@@ -4140,6 +4158,7 @@ module Google
4140
4158
 
4141
4159
  # Update properties of this object
4142
4160
  def update!(**args)
4161
+ @data = args[:data] if args.key?(:data)
4143
4162
  @pem = args[:pem] if args.key?(:pem)
4144
4163
  end
4145
4164
  end
@@ -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.74.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260423"
25
+ REVISION = "20260514"
26
26
  end
27
27
  end
28
28
  end
@@ -965,6 +965,7 @@ module Google
965
965
  property :protection_level, as: 'protectionLevel'
966
966
  property :public_key, as: 'publicKey', class: Google::Apis::CloudkmsV1::WrappingPublicKey, decorator: Google::Apis::CloudkmsV1::WrappingPublicKey::Representation
967
967
 
968
+ property :public_key_format, as: 'publicKeyFormat'
968
969
  property :state, as: 'state'
969
970
  end
970
971
  end
@@ -1490,6 +1491,7 @@ module Google
1490
1491
  class WrappingPublicKey
1491
1492
  # @private
1492
1493
  class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :data, :base64 => true, as: 'data'
1493
1495
  property :pem, as: 'pem'
1494
1496
  end
1495
1497
  end
@@ -2530,6 +2530,13 @@ module Google
2530
2530
  # Returns metadata for a given ImportJob.
2531
2531
  # @param [String] name
2532
2532
  # Required. The name of the ImportJob to get.
2533
+ # @param [String] public_key_format
2534
+ # Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-
2535
+ # based import methods, the wrapping key will be returned in PEM format * For
2536
+ # pure ML-KEM-based import methods, the wrapping key will be returned in the raw
2537
+ # bytes format specified in FIPS-203 * For X-Wing-based import methods, the
2538
+ # wrapping key will be returned in the raw bytes format specified in https://
2539
+ # datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem.
2533
2540
  # @param [String] fields
2534
2541
  # Selector specifying which fields to include in a partial response.
2535
2542
  # @param [String] quota_user
@@ -2547,11 +2554,12 @@ module Google
2547
2554
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2548
2555
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2549
2556
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2550
- def get_project_location_key_ring_import_job(name, fields: nil, quota_user: nil, options: nil, &block)
2557
+ def get_project_location_key_ring_import_job(name, public_key_format: nil, fields: nil, quota_user: nil, options: nil, &block)
2551
2558
  command = make_simple_command(:get, 'v1/{+name}', options)
2552
2559
  command.response_representation = Google::Apis::CloudkmsV1::ImportJob::Representation
2553
2560
  command.response_class = Google::Apis::CloudkmsV1::ImportJob
2554
2561
  command.params['name'] = name unless name.nil?
2562
+ command.query['publicKeyFormat'] = public_key_format unless public_key_format.nil?
2555
2563
  command.query['fields'] = fields unless fields.nil?
2556
2564
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2557
2565
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.74.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.75.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
62
62
  rdoc_options: []
63
63
  require_paths: