Skip to content

Commit d467bbb

Browse files
committed
feat: update generated APIs
1 parent f862c33 commit d467bbb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,25 +85,42 @@ export interface Resource {
8585
}
8686

8787
export interface Event {
88+
/** ID of the event. */
8889
id: string
90+
/** Timestamp of the event. */
8991
recordedAt?: Date
92+
/** Locality of the resource attached to the event. */
9093
locality: string
94+
/** User or IAM application at the origin of the event. */
9195
principal?: EventPrincipal
96+
/** Organization ID containing the event. */
9297
organizationId: string
98+
/** (Optional) Project of the resource attached to the event. */
9399
projectId?: string
100+
/** IP address at the origin of the event. */
94101
sourceIp: string
102+
/** User Agent at the origin of the event. */
95103
userAgent?: string
104+
/** Product name of the resource attached to the event. */
96105
productName: string
106+
/** API name called to trigger the event. */
97107
serviceName: string
108+
/** API method called to trigger the event. */
98109
methodName: string
110+
/** Resource attached to the event. */
99111
resource?: Resource
112+
/** Unique identifier of the request at the origin of the event. */
100113
requestId: string
114+
/** Request at the origin of the event. */
101115
requestBody?: Record<string, unknown>
116+
/** HTTP status code resulting of the API call. */
102117
statusCode: number
103118
}
104119

105120
export interface Product {
121+
/** Product title. */
106122
title: string
123+
/** Product name. */
107124
name: string
108125
}
109126

@@ -160,6 +177,8 @@ export type ListProductsRequest = {
160177
}
161178

162179
export interface ListProductsResponse {
180+
/** List of all products integrated with Audit Trail. */
163181
products: Product[]
182+
/** Number of integrated products. */
164183
totalCount: number
165184
}

0 commit comments

Comments
 (0)