We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Resources
1 parent adcb306 commit 7f3ec4eCopy full SHA for 7f3ec4e
api/audit_trail/v1alpha1/audit_trail_sdk.go
@@ -257,8 +257,11 @@ type Event struct {
257
// MethodName: API method called to trigger the event.
258
MethodName string `json:"method_name"`
259
260
- // Resource: resource attached to the event.
261
- Resource *Resource `json:"resource"`
+ // Deprecated: Resource: resource attached to the event.
+ Resource *Resource `json:"resource,omitempty"`
262
+
263
+ // Resources: resources attached to the event.
264
+ Resources []*Resource `json:"resources"`
265
266
// RequestID: unique identifier of the request at the origin of the event.
267
RequestID string `json:"request_id"`
0 commit comments