Skip to content

Commit 0a4be74

Browse files
authored
feat(iam): add new quota fields (#1231)
1 parent ded7597 commit 0a4be74

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,11 @@ export const unmarshalQuotum = (data: unknown): Quotum => {
189189
}
190190

191191
return {
192+
description: data.description,
192193
limit: data.limit,
193194
name: data.name,
195+
prettyName: data.pretty_name,
196+
unit: data.unit,
194197
unlimited: data.unlimited,
195198
} as Quotum
196199
}

packages/clients/src/api/iam/v1alpha1/types.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ export interface Quotum {
304304
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
305305
*/
306306
unlimited?: boolean
307+
/** A human-readable name for the quota. */
308+
prettyName: string
309+
/** The unit in which the quota is expressed. */
310+
unit: string
311+
/** Details about the quota. */
312+
description: string
307313
}
308314

309315
export interface Rule {

0 commit comments

Comments
 (0)