Skip to content

Commit 394bbfc

Browse files
authored
Merge branch 'main' into v1.6157.0
2 parents 2e655a1 + 63c10bd commit 394bbfc

File tree

7 files changed

+1173
-1
lines changed

7 files changed

+1173
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export const unmarshalEvent = (data: unknown): Event => {
179179
requestBody: data.request_body,
180180
requestId: data.request_id,
181181
resource: data.resource ? unmarshalResource(data.resource) : undefined,
182+
resources: unmarshalArrayOfObject(data.resources, unmarshalResource),
182183
serviceName: data.service_name,
183184
sourceIp: data.source_ip,
184185
statusCode: data.status_code,

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ export interface Event {
127127
serviceName: string
128128
/** API method called to trigger the event. */
129129
methodName: string
130-
/** Resource attached to the event. */
130+
/** @deprecated Resource attached to the event. */
131131
resource?: Resource
132+
/** Resources attached to the event. */
133+
resources: Resource[]
132134
/** Unique identifier of the request at the origin of the event. */
133135
requestId: string
134136
/** Request at the origin of the event. */

0 commit comments

Comments
 (0)