google-apis-cloudkms_v1 0.55.0 → 0.56.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: a700e1046cc8c3c10ad1a8b4d05c52a59dc3ed1190533295057fe8cd5ce5fa54
4
- data.tar.gz: fd8da6151f40554715f62a427d8220e4d161e8c240ff7785bb7f868948405f5d
3
+ metadata.gz: 3387484eb7a51f90a915295ce128f48107a83dbd6d73fbba3a3d9dc355d48052
4
+ data.tar.gz: cfddf50545bc7da0e3b5d2f2928325d3ef16aa82240e914972dd7665f547f56c
5
5
  SHA512:
6
- metadata.gz: 38bc07a36e7d63c47c487fd58e3d04b038f42310af855c616acb1e4627ac1da27f4dd15a62182e7fdb23e4a0f716642e485a7ea51fa29134aa969e5f33550ba7
7
- data.tar.gz: 5007fd7e369ded6226c0eaf9ce9f43965b68bdf1f76703693f66be645515db0375e76d490f5c64de1d32dc33bb7f801acfc25578701eea3244d5d28c0fe105d6
6
+ metadata.gz: f5ef8925e420ae0aec4dc3a3e2a91def764e0681c1951eba3363046c6e11a4b0d616954ddbda2f55aebf2aa5133591894831b0517819bb49d096ab4c42f3a1eb
7
+ data.tar.gz: 8254b6559756d2dd96d3127b405ebd9558b60ce339e1db667fffc8b67ed6072ab0cc9d79a9d71f04b1645d3303cd6d065045e6646f418419f14877a7a6e7debe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.56.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250213
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.55.0 (2024-11-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20241111
@@ -568,6 +568,41 @@ module Google
568
568
  end
569
569
  end
570
570
 
571
+ # Data with integrity verification field.
572
+ class ChecksummedData
573
+ include Google::Apis::Core::Hashable
574
+
575
+ # Integrity verification field. A CRC32C checksum of the returned
576
+ # ChecksummedData.data. An integrity check of ChecksummedData.data can be
577
+ # performed by computing the CRC32C checksum of ChecksummedData.data and
578
+ # comparing your results to this field. Discard the response in case of non-
579
+ # matching checksum values, and perform a limited number of retries. A
580
+ # persistent mismatch may indicate an issue in your computation of the CRC32C
581
+ # checksum. Note: This field is defined as int64 for reasons of compatibility
582
+ # across different languages. However, it is a non-negative integer, which will
583
+ # never exceed `2^32-1`, and can be safely downconverted to uint32 in languages
584
+ # that support this type.
585
+ # Corresponds to the JSON property `crc32cChecksum`
586
+ # @return [Fixnum]
587
+ attr_accessor :crc32c_checksum
588
+
589
+ # Raw Data.
590
+ # Corresponds to the JSON property `data`
591
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
592
+ # @return [String]
593
+ attr_accessor :data
594
+
595
+ def initialize(**args)
596
+ update!(**args)
597
+ end
598
+
599
+ # Update properties of this object
600
+ def update!(**args)
601
+ @crc32c_checksum = args[:crc32c_checksum] if args.key?(:crc32c_checksum)
602
+ @data = args[:data] if args.key?(:data)
603
+ end
604
+ end
605
+
571
606
  # A CryptoKey represents a logical key that can be used for cryptographic
572
607
  # operations. A CryptoKey is made up of zero or more versions, which represent
573
608
  # the actual key material used in cryptographic operations.
@@ -2365,7 +2400,7 @@ module Google
2365
2400
  # number of retries. A persistent mismatch may indicate an issue in your
2366
2401
  # computation of the CRC32C checksum. Note: This field is defined as int64 for
2367
2402
  # reasons of compatibility across different languages. However, it is a non-
2368
- # negative integer, which will never exceed 2^32-1, and can be safely
2403
+ # negative integer, which will never exceed `2^32-1`, and can be safely
2369
2404
  # downconverted to uint32 in languages that support this type. NOTE: This field
2370
2405
  # is in Beta.
2371
2406
  # Corresponds to the JSON property `pemCrc32c`
@@ -2377,6 +2412,17 @@ module Google
2377
2412
  # @return [String]
2378
2413
  attr_accessor :protection_level
2379
2414
 
2415
+ # Data with integrity verification field.
2416
+ # Corresponds to the JSON property `publicKey`
2417
+ # @return [Google::Apis::CloudkmsV1::ChecksummedData]
2418
+ attr_accessor :public_key
2419
+
2420
+ # The PublicKey format specified by the customer through the public_key_format
2421
+ # field.
2422
+ # Corresponds to the JSON property `publicKeyFormat`
2423
+ # @return [String]
2424
+ attr_accessor :public_key_format
2425
+
2380
2426
  def initialize(**args)
2381
2427
  update!(**args)
2382
2428
  end
@@ -2388,6 +2434,8 @@ module Google
2388
2434
  @pem = args[:pem] if args.key?(:pem)
2389
2435
  @pem_crc32c = args[:pem_crc32c] if args.key?(:pem_crc32c)
2390
2436
  @protection_level = args[:protection_level] if args.key?(:protection_level)
2437
+ @public_key = args[:public_key] if args.key?(:public_key)
2438
+ @public_key_format = args[:public_key_format] if args.key?(:public_key_format)
2391
2439
  end
2392
2440
  end
2393
2441
 
@@ -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.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241111"
25
+ REVISION = "20250213"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ChecksummedData
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class CryptoKey
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -489,6 +495,14 @@ module Google
489
495
  end
490
496
  end
491
497
 
498
+ class ChecksummedData
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :crc32c_checksum, :numeric_string => true, as: 'crc32cChecksum'
502
+ property :data, :base64 => true, as: 'data'
503
+ end
504
+ end
505
+
492
506
  class CryptoKey
493
507
  # @private
494
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -877,6 +891,9 @@ module Google
877
891
  property :pem, as: 'pem'
878
892
  property :pem_crc32c, :numeric_string => true, as: 'pemCrc32c'
879
893
  property :protection_level, as: 'protectionLevel'
894
+ property :public_key, as: 'publicKey', class: Google::Apis::CloudkmsV1::ChecksummedData, decorator: Google::Apis::CloudkmsV1::ChecksummedData::Representation
895
+
896
+ property :public_key_format, as: 'publicKeyFormat'
880
897
  end
881
898
  end
882
899
 
@@ -1690,6 +1690,12 @@ module Google
1690
1690
  # must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
1691
1691
  # @param [String] name
1692
1692
  # Required. The name of the CryptoKeyVersion public key to get.
1693
+ # @param [String] public_key_format
1694
+ # Optional. The PublicKey format specified by the user. This field is required
1695
+ # for PQC algorithms. If specified, the public key will be exported through the
1696
+ # public_key field in the requested format. Otherwise, the pem field will be
1697
+ # populated for non-PQC algorithms, and an error will be returned for PQC
1698
+ # algorithms.
1693
1699
  # @param [String] fields
1694
1700
  # Selector specifying which fields to include in a partial response.
1695
1701
  # @param [String] quota_user
@@ -1707,11 +1713,12 @@ module Google
1707
1713
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1708
1714
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1709
1715
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1710
- def get_project_location_key_ring_crypto_key_crypto_key_version_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
1716
+ def get_project_location_key_ring_crypto_key_crypto_key_version_public_key(name, public_key_format: nil, fields: nil, quota_user: nil, options: nil, &block)
1711
1717
  command = make_simple_command(:get, 'v1/{+name}/publicKey', options)
1712
1718
  command.response_representation = Google::Apis::CloudkmsV1::PublicKey::Representation
1713
1719
  command.response_class = Google::Apis::CloudkmsV1::PublicKey
1714
1720
  command.params['name'] = name unless name.nil?
1721
+ command.query['publicKeyFormat'] = public_key_format unless public_key_format.nil?
1715
1722
  command.query['fields'] = fields unless fields.nil?
1716
1723
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1717
1724
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.56.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Key Management Service (KMS) API V1
82
79
  test_files: []