File tree 3 files changed +12
-0
lines changed
packages_generated/key_manager/src/v1alpha1
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,7 @@ export class API extends ParentAPI {
251
251
] ,
252
252
[ 'project_id' , request . projectId ] ,
253
253
[ 'tags' , request . tags ] ,
254
+ [ 'usage' , request . usage ] ,
254
255
) ,
255
256
} ,
256
257
unmarshalListKeysResponse ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export type {
28
28
KeyUsage ,
29
29
ListKeysRequest ,
30
30
ListKeysRequestOrderBy ,
31
+ ListKeysRequestUsage ,
31
32
ListKeysResponse ,
32
33
ProtectKeyRequest ,
33
34
PublicKey ,
Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ export type ListKeysRequestOrderBy =
43
43
| 'updated_at_asc'
44
44
| 'updated_at_desc'
45
45
46
+ export type ListKeysRequestUsage =
47
+ | 'unknown_usage'
48
+ | 'symmetric_encryption'
49
+ | 'asymmetric_encryption'
50
+ | 'asymmetric_signing'
51
+
46
52
export interface KeyRotationPolicy {
47
53
/**
48
54
* Time interval between two key rotations. The minimum duration is 24 hours and the maximum duration is 1 year (876000 hours).
@@ -395,6 +401,10 @@ export type ListKeysRequest = {
395
401
* (Optional) Filter by key name.
396
402
*/
397
403
name ?: string
404
+ /**
405
+ * Select from symmetric encryption, asymmetric encryption, or asymmetric signing.
406
+ */
407
+ usage ?: ListKeysRequestUsage
398
408
}
399
409
400
410
export interface ListKeysResponse {
You can’t perform that action at this time.
0 commit comments