Event
View as Markdown
Struct for a single event.
Fields
| Field | Type | Number | Description |
id | int64 | 1 | The ID of the event. |
type | EventType | 2 | The type of the event. |
category | EventCategory | 3 | The category of the event.Values: EVENT_CATEGORY_UNDEFINED (0), EVENT_CATEGORY_FILE_ACCESS (1), EVENT_CATEGORY_OBJECT_CHANGE (2), EVENT_CATEGORY_NEW_OBJECT (3), EVENT_CATEGORY_OBJECT_OPERATION (4), EVENT_CATEGORY_SYSTEM (5), EVENT_CATEGORY_REQUEST (6), EVENT_CATEGORY_METADATA_STRUCTURE_CHANGE (7), EVENT_CATEGORY_PUBLIC_LINK (8), EVENT_CATEGORY_CUSTOM_EVENT (9). |
timestamp_utc | google.protobuf.Timestamp | 4 | The timestamp of this event. |
caused_by_user | string | 5 | The account name of the user whose activity lead to this event. If no user (this is a system operation), this is an empty string. |
caused_by_user_full_name | string | 6 | The full name of the user whose activity lead to this event. If no user (this is a system operation), this is an empty string. |
caused_by_user_id | int32 | 11 | The ID of the user account whose activity lead to this event. If no user (this is a system operation), this is zero. |
data | EventTypeSpecificDataUnion | 7 | Additional event type -specific data as a union. |
notification_created | bool | 8 | Tells if the notifications have been created. |
notification_object_info | DocumentInfoForNotifications | 9 | Document info. This is valid only until the notifications have been created. |
xml_data | string | 10 | The data represented in XML. |
Used by methods
Used in fields