google-apis-cloudkms_v1 0.74.0 → 0.76.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: cbd9015e5fa17cebdda7144ffe2e12830c48738abc76c150fda029e0c41196fc
4
+ data.tar.gz: bf373989571553e4675761e74712f0bffd0b4c3d3f138fdb8c524c9a05905493
5
5
  SHA512:
6
- metadata.gz: 2fbec1d0994800efa7ef16f1385835bc92ba813eac41441f583eda39affdd9dcb96d916592b824c4b9ce33075a2a7fe30b7bfa43ff653298853cb6ba3688c29e
7
- data.tar.gz: 2b2e7db0fddec263639db118d9d966e5138f605a146c49832653c682f4b88f33daa1c08ae39a485cc7f77f419d25824ff34756d7220a0357a401803a52291e5a
6
+ metadata.gz: 531650354797ff2b41ef37a1d12bec6b0084899af86800c6bdf6a24b33f73268cfca94a1931be45ccc6adccfca0ea1ecd2ae0f03cffa1a4755060e37c3bae387
7
+ data.tar.gz: fe241340f016e7fd8eb9cadd72a4a2fa2fb8da6a0d8af5872427bd5ca61977f84bdf094b721c778e8e984dac35ed3ccfb38258ac635421b4cac9b05f7d39e06f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.76.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260608
6
+ * Regenerated using generator version 0.19.0
7
+
8
+ ### v0.75.0 (2026-05-24)
9
+
10
+ * Regenerated from discovery document revision 20260514
11
+
3
12
  ### v0.74.0 (2026-05-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20260423
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/kms/) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -410,7 +410,8 @@ module Google
410
410
  attr_accessor :key_project_resolution_mode
411
411
 
412
412
  # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
413
- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
413
+ # autokeyConfig`, `projects/`PROJECT_NUMBER`/autokeyConfig`, or `projects/`
414
+ # PROJECT_ID`/autokeyConfig`.
414
415
  # Corresponds to the JSON property `name`
415
416
  # @return [String]
416
417
  attr_accessor :name
@@ -1880,6 +1881,12 @@ module Google
1880
1881
  # @return [Google::Apis::CloudkmsV1::WrappingPublicKey]
1881
1882
  attr_accessor :public_key
1882
1883
 
1884
+ # Output only. Specifies the WrappingPublicKey format provided by the customer
1885
+ # in the KeyManagementService.GetImportJob request.
1886
+ # Corresponds to the JSON property `publicKeyFormat`
1887
+ # @return [String]
1888
+ attr_accessor :public_key_format
1889
+
1883
1890
  # Output only. The current state of the ImportJob, indicating if it can be used.
1884
1891
  # Corresponds to the JSON property `state`
1885
1892
  # @return [String]
@@ -1901,6 +1908,7 @@ module Google
1901
1908
  @name = args[:name] if args.key?(:name)
1902
1909
  @protection_level = args[:protection_level] if args.key?(:protection_level)
1903
1910
  @public_key = args[:public_key] if args.key?(:public_key)
1911
+ @public_key_format = args[:public_key_format] if args.key?(:public_key_format)
1904
1912
  @state = args[:state] if args.key?(:state)
1905
1913
  end
1906
1914
  end
@@ -4126,10 +4134,21 @@ module Google
4126
4134
  class WrappingPublicKey
4127
4135
  include Google::Apis::Core::Hashable
4128
4136
 
4137
+ # Output only. Contains the public key, formatted according to the PublicKey.
4138
+ # PublicKeyFormat specified in the KeyManagementService.GetImportJob request.
4139
+ # Corresponds to the JSON property `data`
4140
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4141
+ # @return [String]
4142
+ attr_accessor :data
4143
+
4129
4144
  # The public key, encoded in PEM format. For more information, see the [RFC 7468]
4130
4145
  # (https://tools.ietf.org/html/rfc7468) sections for [General Considerations](
4131
4146
  # https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of
4132
4147
  # Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
4148
+ # This field gets populated by default for RSA-based import methods, if no
4149
+ # public_key_format is specified in the request. If you want to retrieve the
4150
+ # wrapping key of an ImportJob in some other format, use KeyManagementService.
4151
+ # GetImportJob and set the public_key_format to the desired public key format.
4133
4152
  # Corresponds to the JSON property `pem`
4134
4153
  # @return [String]
4135
4154
  attr_accessor :pem
@@ -4140,6 +4159,7 @@ module Google
4140
4159
 
4141
4160
  # Update properties of this object
4142
4161
  def update!(**args)
4162
+ @data = args[:data] if args.key?(:data)
4143
4163
  @pem = args[:pem] if args.key?(:pem)
4144
4164
  end
4145
4165
  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.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260423"
25
+ REVISION = "20260608"
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
@@ -55,7 +55,8 @@ module Google
55
55
  # Returns the AutokeyConfig for a folder or project.
56
56
  # @param [String] name
57
57
  # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
58
- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
58
+ # autokeyConfig`, `projects/`PROJECT_NUMBER`/autokeyConfig`, or `projects/`
59
+ # PROJECT_ID`/autokeyConfig`.
59
60
  # @param [String] fields
60
61
  # Selector specifying which fields to include in a partial response.
61
62
  # @param [String] quota_user
@@ -121,7 +122,8 @@ module Google
121
122
  # determine where to create the resulting CryptoKey.
122
123
  # @param [String] name
123
124
  # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
124
- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
125
+ # autokeyConfig`, `projects/`PROJECT_NUMBER`/autokeyConfig`, or `projects/`
126
+ # PROJECT_ID`/autokeyConfig`.
125
127
  # @param [Google::Apis::CloudkmsV1::AutokeyConfig] autokey_config_object
126
128
  # @param [String] update_mask
127
129
  # Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
@@ -267,7 +269,8 @@ module Google
267
269
  # Returns the AutokeyConfig for a folder or project.
268
270
  # @param [String] name
269
271
  # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
270
- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
272
+ # autokeyConfig`, `projects/`PROJECT_NUMBER`/autokeyConfig`, or `projects/`
273
+ # PROJECT_ID`/autokeyConfig`.
271
274
  # @param [String] fields
272
275
  # Selector specifying which fields to include in a partial response.
273
276
  # @param [String] quota_user
@@ -429,7 +432,8 @@ module Google
429
432
  # determine where to create the resulting CryptoKey.
430
433
  # @param [String] name
431
434
  # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
432
- # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
435
+ # autokeyConfig`, `projects/`PROJECT_NUMBER`/autokeyConfig`, or `projects/`
436
+ # PROJECT_ID`/autokeyConfig`.
433
437
  # @param [Google::Apis::CloudkmsV1::AutokeyConfig] autokey_config_object
434
438
  # @param [String] update_mask
435
439
  # Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
@@ -2530,6 +2534,13 @@ module Google
2530
2534
  # Returns metadata for a given ImportJob.
2531
2535
  # @param [String] name
2532
2536
  # Required. The name of the ImportJob to get.
2537
+ # @param [String] public_key_format
2538
+ # Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-
2539
+ # based import methods, the wrapping key will be returned in PEM format * For
2540
+ # pure ML-KEM-based import methods, the wrapping key will be returned in the raw
2541
+ # bytes format specified in FIPS-203 * For X-Wing-based import methods, the
2542
+ # wrapping key will be returned in the raw bytes format specified in https://
2543
+ # datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem.
2533
2544
  # @param [String] fields
2534
2545
  # Selector specifying which fields to include in a partial response.
2535
2546
  # @param [String] quota_user
@@ -2547,11 +2558,12 @@ module Google
2547
2558
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2548
2559
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2549
2560
  # @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)
2561
+ def get_project_location_key_ring_import_job(name, public_key_format: nil, fields: nil, quota_user: nil, options: nil, &block)
2551
2562
  command = make_simple_command(:get, 'v1/{+name}', options)
2552
2563
  command.response_representation = Google::Apis::CloudkmsV1::ImportJob::Representation
2553
2564
  command.response_class = Google::Apis::CloudkmsV1::ImportJob
2554
2565
  command.params['name'] = name unless name.nil?
2566
+ command.query['publicKeyFormat'] = public_key_format unless public_key_format.nil?
2555
2567
  command.query['fields'] = fields unless fields.nil?
2556
2568
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2557
2569
  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.76.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.76.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="