google-apis-cloudkms_v1 0.65.0 → 0.66.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.
@@ -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.65.0"
19
+ GEM_VERSION = "0.66.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 = "20251201"
25
+ REVISION = "20251231"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module CloudkmsV1
24
24
 
25
+ class AddQuorumMember
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApproveSingleTenantHsmInstanceProposalRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ApproveSingleTenantHsmInstanceProposalResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class AsymmetricDecryptRequest
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -82,6 +100,18 @@ module Google
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class Challenge
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ChallengeReply
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
85
115
  class ChecksummedData
86
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
117
 
@@ -130,6 +160,12 @@ module Google
130
160
  include Google::Apis::Core::JsonObjectSupport
131
161
  end
132
162
 
163
+ class DeleteSingleTenantHsmInstance
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
133
169
  class DestroyCryptoKeyVersionRequest
134
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
171
 
@@ -142,6 +178,12 @@ module Google
142
178
  include Google::Apis::Core::JsonObjectSupport
143
179
  end
144
180
 
181
+ class DisableSingleTenantHsmInstance
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
145
187
  class EkmConfig
146
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
189
 
@@ -154,6 +196,18 @@ module Google
154
196
  include Google::Apis::Core::JsonObjectSupport
155
197
  end
156
198
 
199
+ class Empty
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class EnableSingleTenantHsmInstance
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
157
211
  class EncryptRequest
158
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
213
 
@@ -166,6 +220,12 @@ module Google
166
220
  include Google::Apis::Core::JsonObjectSupport
167
221
  end
168
222
 
223
+ class ExecuteSingleTenantHsmInstanceProposalRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
169
229
  class Expr
170
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
231
 
@@ -280,6 +340,18 @@ module Google
280
340
  include Google::Apis::Core::JsonObjectSupport
281
341
  end
282
342
 
343
+ class ListSingleTenantHsmInstanceProposalsResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class ListSingleTenantHsmInstancesResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
283
355
  class Location
284
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
357
 
@@ -334,6 +406,24 @@ module Google
334
406
  include Google::Apis::Core::JsonObjectSupport
335
407
  end
336
408
 
409
+ class QuorumAuth
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class QuorumParameters
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class QuorumReply
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
337
427
  class RawDecryptRequest
338
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
429
 
@@ -358,6 +448,36 @@ module Google
358
448
  include Google::Apis::Core::JsonObjectSupport
359
449
  end
360
450
 
451
+ class RefreshSingleTenantHsmInstance
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class RegisterTwoFactorAuthKeys
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class RemoveQuorumMember
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class RequiredActionQuorumParameters
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class RequiredActionQuorumReply
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
361
481
  class RestoreCryptoKeyVersionRequest
362
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
483
 
@@ -394,6 +514,18 @@ module Google
394
514
  include Google::Apis::Core::JsonObjectSupport
395
515
  end
396
516
 
517
+ class SingleTenantHsmInstance
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class SingleTenantHsmInstanceProposal
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
397
529
  class Status
398
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
531
 
@@ -430,6 +562,29 @@ module Google
430
562
  include Google::Apis::Core::JsonObjectSupport
431
563
  end
432
564
 
565
+ class AddQuorumMember
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :two_factor_public_key_pem, as: 'twoFactorPublicKeyPem'
569
+ end
570
+ end
571
+
572
+ class ApproveSingleTenantHsmInstanceProposalRequest
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :quorum_reply, as: 'quorumReply', class: Google::Apis::CloudkmsV1::QuorumReply, decorator: Google::Apis::CloudkmsV1::QuorumReply::Representation
576
+
577
+ property :required_action_quorum_reply, as: 'requiredActionQuorumReply', class: Google::Apis::CloudkmsV1::RequiredActionQuorumReply, decorator: Google::Apis::CloudkmsV1::RequiredActionQuorumReply::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class ApproveSingleTenantHsmInstanceProposalResponse
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ end
586
+ end
587
+
433
588
  class AsymmetricDecryptRequest
434
589
  # @private
435
590
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -532,6 +687,22 @@ module Google
532
687
  end
533
688
  end
534
689
 
690
+ class Challenge
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :challenge, :base64 => true, as: 'challenge'
694
+ property :public_key_pem, as: 'publicKeyPem'
695
+ end
696
+ end
697
+
698
+ class ChallengeReply
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :public_key_pem, as: 'publicKeyPem'
702
+ property :signed_challenge, :base64 => true, as: 'signedChallenge'
703
+ end
704
+ end
705
+
535
706
  class ChecksummedData
536
707
  # @private
537
708
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -632,6 +803,12 @@ module Google
632
803
  end
633
804
  end
634
805
 
806
+ class DeleteSingleTenantHsmInstance
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ end
810
+ end
811
+
635
812
  class DestroyCryptoKeyVersionRequest
636
813
  # @private
637
814
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -647,6 +824,12 @@ module Google
647
824
  end
648
825
  end
649
826
 
827
+ class DisableSingleTenantHsmInstance
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ end
831
+ end
832
+
650
833
  class EkmConfig
651
834
  # @private
652
835
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,6 +851,18 @@ module Google
668
851
  end
669
852
  end
670
853
 
854
+ class Empty
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ end
858
+ end
859
+
860
+ class EnableSingleTenantHsmInstance
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ end
864
+ end
865
+
671
866
  class EncryptRequest
672
867
  # @private
673
868
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -690,6 +885,12 @@ module Google
690
885
  end
691
886
  end
692
887
 
888
+ class ExecuteSingleTenantHsmInstanceProposalRequest
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ end
892
+ end
893
+
693
894
  class Expr
694
895
  # @private
695
896
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -873,6 +1074,26 @@ module Google
873
1074
  end
874
1075
  end
875
1076
 
1077
+ class ListSingleTenantHsmInstanceProposalsResponse
1078
+ # @private
1079
+ class Representation < Google::Apis::Core::JsonRepresentation
1080
+ property :next_page_token, as: 'nextPageToken'
1081
+ collection :single_tenant_hsm_instance_proposals, as: 'singleTenantHsmInstanceProposals', class: Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal, decorator: Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal::Representation
1082
+
1083
+ property :total_size, as: 'totalSize'
1084
+ end
1085
+ end
1086
+
1087
+ class ListSingleTenantHsmInstancesResponse
1088
+ # @private
1089
+ class Representation < Google::Apis::Core::JsonRepresentation
1090
+ property :next_page_token, as: 'nextPageToken'
1091
+ collection :single_tenant_hsm_instances, as: 'singleTenantHsmInstances', class: Google::Apis::CloudkmsV1::SingleTenantHsmInstance, decorator: Google::Apis::CloudkmsV1::SingleTenantHsmInstance::Representation
1092
+
1093
+ property :total_size, as: 'totalSize'
1094
+ end
1095
+ end
1096
+
876
1097
  class Location
877
1098
  # @private
878
1099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -972,6 +1193,33 @@ module Google
972
1193
  end
973
1194
  end
974
1195
 
1196
+ class QuorumAuth
1197
+ # @private
1198
+ class Representation < Google::Apis::Core::JsonRepresentation
1199
+ property :required_approver_count, as: 'requiredApproverCount'
1200
+ property :total_approver_count, as: 'totalApproverCount'
1201
+ collection :two_factor_public_key_pems, as: 'twoFactorPublicKeyPems'
1202
+ end
1203
+ end
1204
+
1205
+ class QuorumParameters
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ collection :approved_two_factor_public_key_pems, as: 'approvedTwoFactorPublicKeyPems'
1209
+ collection :challenges, as: 'challenges', class: Google::Apis::CloudkmsV1::Challenge, decorator: Google::Apis::CloudkmsV1::Challenge::Representation
1210
+
1211
+ property :required_approver_count, as: 'requiredApproverCount'
1212
+ end
1213
+ end
1214
+
1215
+ class QuorumReply
1216
+ # @private
1217
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
+ collection :challenge_replies, as: 'challengeReplies', class: Google::Apis::CloudkmsV1::ChallengeReply, decorator: Google::Apis::CloudkmsV1::ChallengeReply::Representation
1219
+
1220
+ end
1221
+ end
1222
+
975
1223
  class RawDecryptRequest
976
1224
  # @private
977
1225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1025,6 +1273,49 @@ module Google
1025
1273
  end
1026
1274
  end
1027
1275
 
1276
+ class RefreshSingleTenantHsmInstance
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ end
1280
+ end
1281
+
1282
+ class RegisterTwoFactorAuthKeys
1283
+ # @private
1284
+ class Representation < Google::Apis::Core::JsonRepresentation
1285
+ property :required_approver_count, as: 'requiredApproverCount'
1286
+ collection :two_factor_public_key_pems, as: 'twoFactorPublicKeyPems'
1287
+ end
1288
+ end
1289
+
1290
+ class RemoveQuorumMember
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :two_factor_public_key_pem, as: 'twoFactorPublicKeyPem'
1294
+ end
1295
+ end
1296
+
1297
+ class RequiredActionQuorumParameters
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ collection :approved_two_factor_public_key_pems, as: 'approvedTwoFactorPublicKeyPems'
1301
+ collection :quorum_challenges, as: 'quorumChallenges', class: Google::Apis::CloudkmsV1::Challenge, decorator: Google::Apis::CloudkmsV1::Challenge::Representation
1302
+
1303
+ property :required_approver_count, as: 'requiredApproverCount'
1304
+ collection :required_challenges, as: 'requiredChallenges', class: Google::Apis::CloudkmsV1::Challenge, decorator: Google::Apis::CloudkmsV1::Challenge::Representation
1305
+
1306
+ end
1307
+ end
1308
+
1309
+ class RequiredActionQuorumReply
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ collection :quorum_challenge_replies, as: 'quorumChallengeReplies', class: Google::Apis::CloudkmsV1::ChallengeReply, decorator: Google::Apis::CloudkmsV1::ChallengeReply::Representation
1313
+
1314
+ collection :required_challenge_replies, as: 'requiredChallengeReplies', class: Google::Apis::CloudkmsV1::ChallengeReply, decorator: Google::Apis::CloudkmsV1::ChallengeReply::Representation
1315
+
1316
+ end
1317
+ end
1318
+
1028
1319
  class RestoreCryptoKeyVersionRequest
1029
1320
  # @private
1030
1321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1078,6 +1369,52 @@ module Google
1078
1369
  end
1079
1370
  end
1080
1371
 
1372
+ class SingleTenantHsmInstance
1373
+ # @private
1374
+ class Representation < Google::Apis::Core::JsonRepresentation
1375
+ property :create_time, as: 'createTime'
1376
+ property :delete_time, as: 'deleteTime'
1377
+ property :disable_time, as: 'disableTime'
1378
+ property :name, as: 'name'
1379
+ property :quorum_auth, as: 'quorumAuth', class: Google::Apis::CloudkmsV1::QuorumAuth, decorator: Google::Apis::CloudkmsV1::QuorumAuth::Representation
1380
+
1381
+ property :state, as: 'state'
1382
+ property :unrefreshed_duration_until_disable, as: 'unrefreshedDurationUntilDisable'
1383
+ end
1384
+ end
1385
+
1386
+ class SingleTenantHsmInstanceProposal
1387
+ # @private
1388
+ class Representation < Google::Apis::Core::JsonRepresentation
1389
+ property :add_quorum_member, as: 'addQuorumMember', class: Google::Apis::CloudkmsV1::AddQuorumMember, decorator: Google::Apis::CloudkmsV1::AddQuorumMember::Representation
1390
+
1391
+ property :create_time, as: 'createTime'
1392
+ property :delete_single_tenant_hsm_instance, as: 'deleteSingleTenantHsmInstance', class: Google::Apis::CloudkmsV1::DeleteSingleTenantHsmInstance, decorator: Google::Apis::CloudkmsV1::DeleteSingleTenantHsmInstance::Representation
1393
+
1394
+ property :delete_time, as: 'deleteTime'
1395
+ property :disable_single_tenant_hsm_instance, as: 'disableSingleTenantHsmInstance', class: Google::Apis::CloudkmsV1::DisableSingleTenantHsmInstance, decorator: Google::Apis::CloudkmsV1::DisableSingleTenantHsmInstance::Representation
1396
+
1397
+ property :enable_single_tenant_hsm_instance, as: 'enableSingleTenantHsmInstance', class: Google::Apis::CloudkmsV1::EnableSingleTenantHsmInstance, decorator: Google::Apis::CloudkmsV1::EnableSingleTenantHsmInstance::Representation
1398
+
1399
+ property :expire_time, as: 'expireTime'
1400
+ property :failure_reason, as: 'failureReason'
1401
+ property :name, as: 'name'
1402
+ property :purge_time, as: 'purgeTime'
1403
+ property :quorum_parameters, as: 'quorumParameters', class: Google::Apis::CloudkmsV1::QuorumParameters, decorator: Google::Apis::CloudkmsV1::QuorumParameters::Representation
1404
+
1405
+ property :refresh_single_tenant_hsm_instance, as: 'refreshSingleTenantHsmInstance', class: Google::Apis::CloudkmsV1::RefreshSingleTenantHsmInstance, decorator: Google::Apis::CloudkmsV1::RefreshSingleTenantHsmInstance::Representation
1406
+
1407
+ property :register_two_factor_auth_keys, as: 'registerTwoFactorAuthKeys', class: Google::Apis::CloudkmsV1::RegisterTwoFactorAuthKeys, decorator: Google::Apis::CloudkmsV1::RegisterTwoFactorAuthKeys::Representation
1408
+
1409
+ property :remove_quorum_member, as: 'removeQuorumMember', class: Google::Apis::CloudkmsV1::RemoveQuorumMember, decorator: Google::Apis::CloudkmsV1::RemoveQuorumMember::Representation
1410
+
1411
+ property :required_action_quorum_parameters, as: 'requiredActionQuorumParameters', class: Google::Apis::CloudkmsV1::RequiredActionQuorumParameters, decorator: Google::Apis::CloudkmsV1::RequiredActionQuorumParameters::Representation
1412
+
1413
+ property :state, as: 'state'
1414
+ property :ttl, as: 'ttl'
1415
+ end
1416
+ end
1417
+
1081
1418
  class Status
1082
1419
  # @private
1083
1420
  class Representation < Google::Apis::Core::JsonRepresentation