Skip to content

Commit 8f5eb86

Browse files
authored
docs(iam): update with new guidelines (#621)
1 parent 40476cd commit 8f5eb86

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ export interface APIKey {
103103
updatedAt?: Date
104104
/** Date and time of API key expiration. */
105105
expiresAt?: Date
106-
/** The default Project ID specified for this API key. */
106+
/** Default Project ID specified for this API key. */
107107
defaultProjectId: string
108-
/** Whether or not the API key is editable. */
108+
/** Defines whether or not the API key is editable. */
109109
editable: boolean
110110
/** IP address of the device that created the API key. */
111111
creationIp: string
@@ -125,7 +125,7 @@ export interface Application {
125125
updatedAt?: Date
126126
/** ID of the Organization. */
127127
organizationId: string
128-
/** Whether or not the application is editable. */
128+
/** Defines whether or not the application is editable. */
129129
editable: boolean
130130
/** Number of API keys attributed to the application. */
131131
nbApiKeys: number
@@ -276,7 +276,7 @@ export interface Policy {
276276
createdAt?: Date
277277
/** Date and time of last policy update. */
278278
updatedAt?: Date
279-
/** Whether or not a policy is editable. */
279+
/** Defines whether or not a policy is editable. */
280280
editable: boolean
281281
/** Number of rules of the policy. */
282282
nbRules: number
@@ -306,7 +306,7 @@ export interface Policy {
306306
*/
307307
applicationId?: string
308308
/**
309-
* Whether or not a policy is attributed to a principal.
309+
* Defines whether or not a policy is attributed to a principal.
310310
*
311311
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
312312
* 'noPrincipal' could be set.
@@ -325,7 +325,7 @@ export interface Quotum {
325325
*/
326326
limit?: number
327327
/**
328-
* Whether or not the quota is unlimited.
328+
* Defines whether or not the quota is unlimited.
329329
*
330330
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
331331
*/
@@ -433,7 +433,7 @@ export interface User {
433433
twoFactorEnabled?: boolean
434434
/** Status of user invitation. */
435435
status: UserStatus
436-
/** Whether MFA is enabled. */
436+
/** Defines whether MFA is enabled. */
437437
mfa: boolean
438438
}
439439

@@ -450,12 +450,12 @@ export type ListSSHKeysRequest = {
450450
name?: string
451451
/** Filter by Project ID. */
452452
projectId?: string
453-
/** Whether to include disabled SSH keys or not. */
453+
/** Defines whether to include disabled SSH keys or not. */
454454
disabled?: boolean
455455
}
456456

457457
export type CreateSSHKeyRequest = {
458-
/** The name of the SSH key. Max length is 1000. */
458+
/** Name of the SSH key. Max length is 1000. */
459459
name?: string
460460
/**
461461
* SSH public key. Currently only the ssh-rsa, ssh-dss (DSA), ssh-ed25519 and
@@ -467,7 +467,7 @@ export type CreateSSHKeyRequest = {
467467
}
468468

469469
export type GetSSHKeyRequest = {
470-
/** The ID of the SSH key. */
470+
/** ID of the SSH key. */
471471
sshKeyId: string
472472
}
473473

@@ -519,7 +519,7 @@ export type ListApplicationsRequest = {
519519
name?: string
520520
/** ID of the Organization to filter. */
521521
organizationId?: string
522-
/** Whether to filter out editable applications or not. */
522+
/** Defines whether to filter out editable applications or not. */
523523
editable?: boolean
524524
/** Filter by list of IDs. */
525525
applicationIds?: string[]
@@ -655,15 +655,15 @@ export type ListPoliciesRequest = {
655655
page?: number
656656
/** ID of the Organization to filter. */
657657
organizationId?: string
658-
/** Whether or not filter out editable policies. */
658+
/** Defines whether or not filter out editable policies. */
659659
editable?: boolean
660-
/** Whether or not to filter by list of user IDs. */
660+
/** Defines whether or not to filter by list of user IDs. */
661661
userIds?: string[]
662-
/** Whether or not to filter by list of group IDs. */
662+
/** Defines whether or not to filter by list of group IDs. */
663663
groupIds?: string[]
664664
/** Filter by a list of application IDs. */
665665
applicationIds?: string[]
666-
/** Whether or not the policy is attributed to a principal. */
666+
/** Defines whether or not the policy is attributed to a principal. */
667667
noPrincipal?: boolean
668668
/** Name of the policy to fetch. */
669669
policyName?: string
@@ -700,7 +700,7 @@ export type CreatePolicyRequest = {
700700
*/
701701
applicationId?: string
702702
/**
703-
* Whether or not a policy is attributed to a principal.
703+
* Defines whether or not a policy is attributed to a principal.
704704
*
705705
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
706706
* 'noPrincipal' could be set.
@@ -742,7 +742,7 @@ export type UpdatePolicyRequest = {
742742
*/
743743
applicationId?: string
744744
/**
745-
* Whether or not the policy is attributed to a principal.
745+
* Defines whether or not the policy is attributed to a principal.
746746
*
747747
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
748748
* 'noPrincipal' could be set.
@@ -807,9 +807,9 @@ export type ListAPIKeysRequest = {
807807
* One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.
808808
*/
809809
userId?: string
810-
/** Whether to filter out editable API keys or not. */
810+
/** Defines whether to filter out editable API keys or not. */
811811
editable?: boolean
812-
/** Whether to filter out expired API keys or not. */
812+
/** Defines whether to filter out expired API keys or not. */
813813
expired?: boolean
814814
/** Filter by access key. */
815815
accessKey?: string
@@ -836,9 +836,9 @@ export type CreateAPIKeyRequest = {
836836
userId?: string
837837
/** Expiration date of the API key. */
838838
expiresAt?: Date
839-
/** The default Project ID to use with Object Storage. */
839+
/** Default Project ID to use with Object Storage. */
840840
defaultProjectId?: string
841-
/** The description of the API key (max length is 200 characters). */
841+
/** Description of the API key (max length is 200 characters). */
842842
description: string
843843
}
844844

@@ -850,9 +850,9 @@ export type GetAPIKeyRequest = {
850850
export type UpdateAPIKeyRequest = {
851851
/** Access key to update. */
852852
accessKey: string
853-
/** The new default Project ID to set. */
853+
/** New default Project ID to set. */
854854
defaultProjectId?: string
855-
/** The new description to update. */
855+
/** New description to update. */
856856
description?: string
857857
}
858858

0 commit comments

Comments
 (0)