google-apis-cloudkms_v1 0.55.0 → 0.57.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de987155300fa3d000c71c129589726d003c458bca6cd9a6ca2a271cbfe68e81
|
4
|
+
data.tar.gz: ec86af1053c1ccab8ff2b817a6f7ad10bfac74c1ac880ae457586bee6016eb10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3fc15a0ba420ab2a87f45f5bfad17eb28e3568cfae22b12fa928e68ab497726b688602d0e10d97e87ebd09f1615c807971d5c757f32ab1bc2839161e8cd861
|
7
|
+
data.tar.gz: ba6233ce57bed6cd9ce5a6e9c899c7a59f57dd16d53efe603b97e9dd24b5015cf5c5304e0a76b4b2ace898d59a7dbda2a02e052a5b815e2de538d289c8083815
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudkms_v1
|
2
2
|
|
3
|
+
### v0.57.0 (2025-04-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250414
|
6
|
+
|
7
|
+
### v0.56.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250213
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.55.0 (2024-11-24)
|
4
13
|
|
5
14
|
* 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
|
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.
|
19
|
+
GEM_VERSION = "0.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250414"
|
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
|
|
@@ -254,6 +254,9 @@ module Google
|
|
254
254
|
# Lists information about the supported locations for this service.
|
255
255
|
# @param [String] name
|
256
256
|
# The resource that owns the locations collection, if applicable.
|
257
|
+
# @param [Array<String>, String] extra_location_types
|
258
|
+
# Optional. A list of extra location types that should be used as conditions for
|
259
|
+
# controlling the visibility of the locations.
|
257
260
|
# @param [String] filter
|
258
261
|
# A filter to narrow down results to a preferred subset. The filtering language
|
259
262
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -281,11 +284,12 @@ module Google
|
|
281
284
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
282
285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
283
286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
284
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
287
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
285
288
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
286
289
|
command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation
|
287
290
|
command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse
|
288
291
|
command.params['name'] = name unless name.nil?
|
292
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
289
293
|
command.query['filter'] = filter unless filter.nil?
|
290
294
|
command.query['pageSize'] = page_size unless page_size.nil?
|
291
295
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1690,6 +1694,12 @@ module Google
|
|
1690
1694
|
# must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
|
1691
1695
|
# @param [String] name
|
1692
1696
|
# Required. The name of the CryptoKeyVersion public key to get.
|
1697
|
+
# @param [String] public_key_format
|
1698
|
+
# Optional. The PublicKey format specified by the user. This field is required
|
1699
|
+
# for PQC algorithms. If specified, the public key will be exported through the
|
1700
|
+
# public_key field in the requested format. Otherwise, the pem field will be
|
1701
|
+
# populated for non-PQC algorithms, and an error will be returned for PQC
|
1702
|
+
# algorithms.
|
1693
1703
|
# @param [String] fields
|
1694
1704
|
# Selector specifying which fields to include in a partial response.
|
1695
1705
|
# @param [String] quota_user
|
@@ -1707,11 +1717,12 @@ module Google
|
|
1707
1717
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1708
1718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1709
1719
|
# @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)
|
1720
|
+
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
1721
|
command = make_simple_command(:get, 'v1/{+name}/publicKey', options)
|
1712
1722
|
command.response_representation = Google::Apis::CloudkmsV1::PublicKey::Representation
|
1713
1723
|
command.response_class = Google::Apis::CloudkmsV1::PublicKey
|
1714
1724
|
command.params['name'] = name unless name.nil?
|
1725
|
+
command.query['publicKeyFormat'] = public_key_format unless public_key_format.nil?
|
1715
1726
|
command.query['fields'] = fields unless fields.nil?
|
1716
1727
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1717
1728
|
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.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-27 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.57.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
|
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: []
|