google-apis-cloudkms_v1 0.10.0 → 0.11.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: d24d53627d68110c7007a55be5249020e3860c727d9305a44f1c24fa286d5261
|
4
|
+
data.tar.gz: 1c5b6e275b1f6ed9ed9b2882029dccacc30d710b1e1b070590a32cea5f8a050b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 719138759639eb2e6d250c68df91e25c16e0fdcbc18035f985e887132c0ff54c4b0a3c59eb9d2ec45d74c1a5da4c1889967e37059181773cdf18ca998f9dba0c
|
7
|
+
data.tar.gz: fd86a96235dcef634dfb5b3946074c6d8819b73bf34872f8999052531fdbdb9c6554c923b2b16392328af0eb5100207f49793ed21178f294ead106e638742a65
|
data/CHANGELOG.md
CHANGED
@@ -1409,6 +1409,232 @@ module Google
|
|
1409
1409
|
end
|
1410
1410
|
end
|
1411
1411
|
|
1412
|
+
# Request message for KeyManagementService.MacSign.
|
1413
|
+
class MacSignRequest
|
1414
|
+
include Google::Apis::Core::Hashable
|
1415
|
+
|
1416
|
+
# Required. The data to sign. The MAC tag is computed over this data field based
|
1417
|
+
# on the specific algorithm.
|
1418
|
+
# Corresponds to the JSON property `data`
|
1419
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1420
|
+
# @return [String]
|
1421
|
+
attr_accessor :data
|
1422
|
+
|
1423
|
+
# Optional. An optional CRC32C checksum of the MacSignRequest.data. If specified,
|
1424
|
+
# KeyManagementService will verify the integrity of the received MacSignRequest.
|
1425
|
+
# data using this checksum. KeyManagementService will report an error if the
|
1426
|
+
# checksum verification fails. If you receive a checksum error, your client
|
1427
|
+
# should verify that CRC32C(MacSignRequest.data) is equal to MacSignRequest.
|
1428
|
+
# data_crc32c, and if so, perform a limited number of retries. A persistent
|
1429
|
+
# mismatch may indicate an issue in your computation of the CRC32C checksum.
|
1430
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1431
|
+
# different languages. However, it is a non-negative integer, which will never
|
1432
|
+
# exceed 2^32-1, and can be safely downconverted to uint32 in languages that
|
1433
|
+
# support this type.
|
1434
|
+
# Corresponds to the JSON property `dataCrc32c`
|
1435
|
+
# @return [Fixnum]
|
1436
|
+
attr_accessor :data_crc32c
|
1437
|
+
|
1438
|
+
def initialize(**args)
|
1439
|
+
update!(**args)
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
# Update properties of this object
|
1443
|
+
def update!(**args)
|
1444
|
+
@data = args[:data] if args.key?(:data)
|
1445
|
+
@data_crc32c = args[:data_crc32c] if args.key?(:data_crc32c)
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# Response message for KeyManagementService.MacSign.
|
1450
|
+
class MacSignResponse
|
1451
|
+
include Google::Apis::Core::Hashable
|
1452
|
+
|
1453
|
+
# The created signature.
|
1454
|
+
# Corresponds to the JSON property `mac`
|
1455
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1456
|
+
# @return [String]
|
1457
|
+
attr_accessor :mac
|
1458
|
+
|
1459
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
1460
|
+
# MacSignResponse.mac. An integrity check of MacSignResponse.mac can be
|
1461
|
+
# performed by computing the CRC32C checksum of MacSignResponse.mac and
|
1462
|
+
# comparing your results to this field. Discard the response in case of non-
|
1463
|
+
# matching checksum values, and perform a limited number of retries. A
|
1464
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
1465
|
+
# checksum. Note: This field is defined as int64 for reasons of compatibility
|
1466
|
+
# across different languages. However, it is a non-negative integer, which will
|
1467
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1468
|
+
# that support this type.
|
1469
|
+
# Corresponds to the JSON property `macCrc32c`
|
1470
|
+
# @return [Fixnum]
|
1471
|
+
attr_accessor :mac_crc32c
|
1472
|
+
|
1473
|
+
# The resource name of the CryptoKeyVersion used for signing. Check this field
|
1474
|
+
# to verify that the intended resource was used for signing.
|
1475
|
+
# Corresponds to the JSON property `name`
|
1476
|
+
# @return [String]
|
1477
|
+
attr_accessor :name
|
1478
|
+
|
1479
|
+
# The ProtectionLevel of the CryptoKeyVersion used for signing.
|
1480
|
+
# Corresponds to the JSON property `protectionLevel`
|
1481
|
+
# @return [String]
|
1482
|
+
attr_accessor :protection_level
|
1483
|
+
|
1484
|
+
# Integrity verification field. A flag indicating whether MacSignRequest.
|
1485
|
+
# data_crc32c was received by KeyManagementService and used for the integrity
|
1486
|
+
# verification of the data. A false value of this field indicates either that
|
1487
|
+
# MacSignRequest.data_crc32c was left unset or that it was not delivered to
|
1488
|
+
# KeyManagementService. If you've set MacSignRequest.data_crc32c but this field
|
1489
|
+
# is still false, discard the response and perform a limited number of retries.
|
1490
|
+
# Corresponds to the JSON property `verifiedDataCrc32c`
|
1491
|
+
# @return [Boolean]
|
1492
|
+
attr_accessor :verified_data_crc32c
|
1493
|
+
alias_method :verified_data_crc32c?, :verified_data_crc32c
|
1494
|
+
|
1495
|
+
def initialize(**args)
|
1496
|
+
update!(**args)
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# Update properties of this object
|
1500
|
+
def update!(**args)
|
1501
|
+
@mac = args[:mac] if args.key?(:mac)
|
1502
|
+
@mac_crc32c = args[:mac_crc32c] if args.key?(:mac_crc32c)
|
1503
|
+
@name = args[:name] if args.key?(:name)
|
1504
|
+
@protection_level = args[:protection_level] if args.key?(:protection_level)
|
1505
|
+
@verified_data_crc32c = args[:verified_data_crc32c] if args.key?(:verified_data_crc32c)
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# Request message for KeyManagementService.MacVerify.
|
1510
|
+
class MacVerifyRequest
|
1511
|
+
include Google::Apis::Core::Hashable
|
1512
|
+
|
1513
|
+
# Required. The data used previously as a MacSignRequest.data to generate the
|
1514
|
+
# MAC tag.
|
1515
|
+
# Corresponds to the JSON property `data`
|
1516
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1517
|
+
# @return [String]
|
1518
|
+
attr_accessor :data
|
1519
|
+
|
1520
|
+
# Optional. An optional CRC32C checksum of the MacVerifyRequest.data. If
|
1521
|
+
# specified, KeyManagementService will verify the integrity of the received
|
1522
|
+
# MacVerifyRequest.data using this checksum. KeyManagementService will report an
|
1523
|
+
# error if the checksum verification fails. If you receive a checksum error,
|
1524
|
+
# your client should verify that CRC32C(MacVerifyRequest.data) is equal to
|
1525
|
+
# MacVerifyRequest.data_crc32c, and if so, perform a limited number of retries.
|
1526
|
+
# A persistent mismatch may indicate an issue in your computation of the CRC32C
|
1527
|
+
# checksum. Note: This field is defined as int64 for reasons of compatibility
|
1528
|
+
# across different languages. However, it is a non-negative integer, which will
|
1529
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1530
|
+
# that support this type.
|
1531
|
+
# Corresponds to the JSON property `dataCrc32c`
|
1532
|
+
# @return [Fixnum]
|
1533
|
+
attr_accessor :data_crc32c
|
1534
|
+
|
1535
|
+
# Required. The signature to verify.
|
1536
|
+
# Corresponds to the JSON property `mac`
|
1537
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1538
|
+
# @return [String]
|
1539
|
+
attr_accessor :mac
|
1540
|
+
|
1541
|
+
# Optional. An optional CRC32C checksum of the MacVerifyRequest.mac. If
|
1542
|
+
# specified, KeyManagementService will verify the integrity of the received
|
1543
|
+
# MacVerifyRequest.mac using this checksum. KeyManagementService will report an
|
1544
|
+
# error if the checksum verification fails. If you receive a checksum error,
|
1545
|
+
# your client should verify that CRC32C(MacVerifyRequest.tag) is equal to
|
1546
|
+
# MacVerifyRequest.mac_crc32c, and if so, perform a limited number of retries. A
|
1547
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
1548
|
+
# checksum. Note: This field is defined as int64 for reasons of compatibility
|
1549
|
+
# across different languages. However, it is a non-negative integer, which will
|
1550
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1551
|
+
# that support this type.
|
1552
|
+
# Corresponds to the JSON property `macCrc32c`
|
1553
|
+
# @return [Fixnum]
|
1554
|
+
attr_accessor :mac_crc32c
|
1555
|
+
|
1556
|
+
def initialize(**args)
|
1557
|
+
update!(**args)
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
# Update properties of this object
|
1561
|
+
def update!(**args)
|
1562
|
+
@data = args[:data] if args.key?(:data)
|
1563
|
+
@data_crc32c = args[:data_crc32c] if args.key?(:data_crc32c)
|
1564
|
+
@mac = args[:mac] if args.key?(:mac)
|
1565
|
+
@mac_crc32c = args[:mac_crc32c] if args.key?(:mac_crc32c)
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# Response message for KeyManagementService.MacVerify.
|
1570
|
+
class MacVerifyResponse
|
1571
|
+
include Google::Apis::Core::Hashable
|
1572
|
+
|
1573
|
+
# The resource name of the CryptoKeyVersion used for verification. Check this
|
1574
|
+
# field to verify that the intended resource was used for verification.
|
1575
|
+
# Corresponds to the JSON property `name`
|
1576
|
+
# @return [String]
|
1577
|
+
attr_accessor :name
|
1578
|
+
|
1579
|
+
# The ProtectionLevel of the CryptoKeyVersion used for verification.
|
1580
|
+
# Corresponds to the JSON property `protectionLevel`
|
1581
|
+
# @return [String]
|
1582
|
+
attr_accessor :protection_level
|
1583
|
+
|
1584
|
+
# This field indicates whether or not the verification operation for
|
1585
|
+
# MacVerifyRequest.mac over MacVerifyRequest.data was successful.
|
1586
|
+
# Corresponds to the JSON property `success`
|
1587
|
+
# @return [Boolean]
|
1588
|
+
attr_accessor :success
|
1589
|
+
alias_method :success?, :success
|
1590
|
+
|
1591
|
+
# Integrity verification field. A flag indicating whether MacVerifyRequest.
|
1592
|
+
# data_crc32c was received by KeyManagementService and used for the integrity
|
1593
|
+
# verification of the data. A false value of this field indicates either that
|
1594
|
+
# MacVerifyRequest.data_crc32c was left unset or that it was not delivered to
|
1595
|
+
# KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this
|
1596
|
+
# field is still false, discard the response and perform a limited number of
|
1597
|
+
# retries.
|
1598
|
+
# Corresponds to the JSON property `verifiedDataCrc32c`
|
1599
|
+
# @return [Boolean]
|
1600
|
+
attr_accessor :verified_data_crc32c
|
1601
|
+
alias_method :verified_data_crc32c?, :verified_data_crc32c
|
1602
|
+
|
1603
|
+
# Integrity verification field. A flag indicating whether MacVerifyRequest.
|
1604
|
+
# mac_crc32c was received by KeyManagementService and used for the integrity
|
1605
|
+
# verification of the data. A false value of this field indicates either that
|
1606
|
+
# MacVerifyRequest.mac_crc32c was left unset or that it was not delivered to
|
1607
|
+
# KeyManagementService. If you've set MacVerifyRequest.mac_crc32c but this field
|
1608
|
+
# is still false, discard the response and perform a limited number of retries.
|
1609
|
+
# Corresponds to the JSON property `verifiedMacCrc32c`
|
1610
|
+
# @return [Boolean]
|
1611
|
+
attr_accessor :verified_mac_crc32c
|
1612
|
+
alias_method :verified_mac_crc32c?, :verified_mac_crc32c
|
1613
|
+
|
1614
|
+
# Integrity verification field. This value is used for the integrity
|
1615
|
+
# verification of [MacVerifyResponse.success]. If the value of this field
|
1616
|
+
# contradicts the value of [MacVerifyResponse.success], discard the response and
|
1617
|
+
# perform a limited number of retries.
|
1618
|
+
# Corresponds to the JSON property `verifiedSuccessIntegrity`
|
1619
|
+
# @return [Boolean]
|
1620
|
+
attr_accessor :verified_success_integrity
|
1621
|
+
alias_method :verified_success_integrity?, :verified_success_integrity
|
1622
|
+
|
1623
|
+
def initialize(**args)
|
1624
|
+
update!(**args)
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# Update properties of this object
|
1628
|
+
def update!(**args)
|
1629
|
+
@name = args[:name] if args.key?(:name)
|
1630
|
+
@protection_level = args[:protection_level] if args.key?(:protection_level)
|
1631
|
+
@success = args[:success] if args.key?(:success)
|
1632
|
+
@verified_data_crc32c = args[:verified_data_crc32c] if args.key?(:verified_data_crc32c)
|
1633
|
+
@verified_mac_crc32c = args[:verified_mac_crc32c] if args.key?(:verified_mac_crc32c)
|
1634
|
+
@verified_success_integrity = args[:verified_success_integrity] if args.key?(:verified_success_integrity)
|
1635
|
+
end
|
1636
|
+
end
|
1637
|
+
|
1412
1638
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1413
1639
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1414
1640
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210723"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,30 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class MacSignRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class MacSignResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class MacVerifyRequest
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class MacVerifyResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
205
229
|
class Policy
|
206
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
231
|
|
@@ -556,6 +580,47 @@ module Google
|
|
556
580
|
end
|
557
581
|
end
|
558
582
|
|
583
|
+
class MacSignRequest
|
584
|
+
# @private
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
586
|
+
property :data, :base64 => true, as: 'data'
|
587
|
+
property :data_crc32c, :numeric_string => true, as: 'dataCrc32c'
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
class MacSignResponse
|
592
|
+
# @private
|
593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
594
|
+
property :mac, :base64 => true, as: 'mac'
|
595
|
+
property :mac_crc32c, :numeric_string => true, as: 'macCrc32c'
|
596
|
+
property :name, as: 'name'
|
597
|
+
property :protection_level, as: 'protectionLevel'
|
598
|
+
property :verified_data_crc32c, as: 'verifiedDataCrc32c'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class MacVerifyRequest
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :data, :base64 => true, as: 'data'
|
606
|
+
property :data_crc32c, :numeric_string => true, as: 'dataCrc32c'
|
607
|
+
property :mac, :base64 => true, as: 'mac'
|
608
|
+
property :mac_crc32c, :numeric_string => true, as: 'macCrc32c'
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
class MacVerifyResponse
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
property :name, as: 'name'
|
616
|
+
property :protection_level, as: 'protectionLevel'
|
617
|
+
property :success, as: 'success'
|
618
|
+
property :verified_data_crc32c, as: 'verifiedDataCrc32c'
|
619
|
+
property :verified_mac_crc32c, as: 'verifiedMacCrc32c'
|
620
|
+
property :verified_success_integrity, as: 'verifiedSuccessIntegrity'
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
559
624
|
class Policy
|
560
625
|
# @private
|
561
626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1036,6 +1036,75 @@ module Google
|
|
1036
1036
|
execute_or_queue_command(command, &block)
|
1037
1037
|
end
|
1038
1038
|
|
1039
|
+
# Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a
|
1040
|
+
# tag that can be verified by another source with the same key.
|
1041
|
+
# @param [String] name
|
1042
|
+
# Required. The resource name of the CryptoKeyVersion to use for signing.
|
1043
|
+
# @param [Google::Apis::CloudkmsV1::MacSignRequest] mac_sign_request_object
|
1044
|
+
# @param [String] fields
|
1045
|
+
# Selector specifying which fields to include in a partial response.
|
1046
|
+
# @param [String] quota_user
|
1047
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1048
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1049
|
+
# @param [Google::Apis::RequestOptions] options
|
1050
|
+
# Request-specific options
|
1051
|
+
#
|
1052
|
+
# @yield [result, err] Result & error if block supplied
|
1053
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::MacSignResponse] parsed result object
|
1054
|
+
# @yieldparam err [StandardError] error object if request failed
|
1055
|
+
#
|
1056
|
+
# @return [Google::Apis::CloudkmsV1::MacSignResponse]
|
1057
|
+
#
|
1058
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1059
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1060
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1061
|
+
def mac_crypto_key_version_sign(name, mac_sign_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1062
|
+
command = make_simple_command(:post, 'v1/{+name}:macSign', options)
|
1063
|
+
command.request_representation = Google::Apis::CloudkmsV1::MacSignRequest::Representation
|
1064
|
+
command.request_object = mac_sign_request_object
|
1065
|
+
command.response_representation = Google::Apis::CloudkmsV1::MacSignResponse::Representation
|
1066
|
+
command.response_class = Google::Apis::CloudkmsV1::MacSignResponse
|
1067
|
+
command.params['name'] = name unless name.nil?
|
1068
|
+
command.query['fields'] = fields unless fields.nil?
|
1069
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1070
|
+
execute_or_queue_command(command, &block)
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and
|
1074
|
+
# returns a response that indicates whether or not the verification was
|
1075
|
+
# successful.
|
1076
|
+
# @param [String] name
|
1077
|
+
# Required. The resource name of the CryptoKeyVersion to use for verification.
|
1078
|
+
# @param [Google::Apis::CloudkmsV1::MacVerifyRequest] mac_verify_request_object
|
1079
|
+
# @param [String] fields
|
1080
|
+
# Selector specifying which fields to include in a partial response.
|
1081
|
+
# @param [String] quota_user
|
1082
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1083
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1084
|
+
# @param [Google::Apis::RequestOptions] options
|
1085
|
+
# Request-specific options
|
1086
|
+
#
|
1087
|
+
# @yield [result, err] Result & error if block supplied
|
1088
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::MacVerifyResponse] parsed result object
|
1089
|
+
# @yieldparam err [StandardError] error object if request failed
|
1090
|
+
#
|
1091
|
+
# @return [Google::Apis::CloudkmsV1::MacVerifyResponse]
|
1092
|
+
#
|
1093
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1094
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1095
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1096
|
+
def mac_crypto_key_version_verify(name, mac_verify_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1097
|
+
command = make_simple_command(:post, 'v1/{+name}:macVerify', options)
|
1098
|
+
command.request_representation = Google::Apis::CloudkmsV1::MacVerifyRequest::Representation
|
1099
|
+
command.request_object = mac_verify_request_object
|
1100
|
+
command.response_representation = Google::Apis::CloudkmsV1::MacVerifyResponse::Representation
|
1101
|
+
command.response_class = Google::Apis::CloudkmsV1::MacVerifyResponse
|
1102
|
+
command.params['name'] = name unless name.nil?
|
1103
|
+
command.query['fields'] = fields unless fields.nil?
|
1104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1105
|
+
execute_or_queue_command(command, &block)
|
1106
|
+
end
|
1107
|
+
|
1039
1108
|
# Update a CryptoKeyVersion's metadata. state may be changed between ENABLED and
|
1040
1109
|
# DISABLED using this method. See DestroyCryptoKeyVersion and
|
1041
1110
|
# RestoreCryptoKeyVersion to move between other states.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudkms_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudkms_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|