Skip to content

Commit 6b7d806

Browse files
authored
feat(iam): add expires_at to updateable API key fields (#2532)
1 parent a38b190 commit 6b7d806

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages_generated/iam/src/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,7 @@ export const marshalUpdateAPIKeyRequest = (
981981
): Record<string, unknown> => ({
982982
default_project_id: request.defaultProjectId,
983983
description: request.description,
984+
expires_at: request.expiresAt,
984985
})
985986

986987
export const marshalUpdateApplicationRequest = (

packages_generated/iam/src/v1alpha1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,10 @@ export type UpdateAPIKeyRequest = {
19361936
* New description to update.
19371937
*/
19381938
description?: string
1939+
/**
1940+
* New expiration date of the API key.
1941+
*/
1942+
expiresAt?: Date
19391943
}
19401944

19411945
export type UpdateApplicationRequest = {

0 commit comments

Comments
 (0)