Event

View as Markdown

Struct for a single event.

Full nameMFiles.Event
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
idint641The ID of the event.
typeEventType2The type of the event.
categoryEventCategory3The 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_utcgoogle.protobuf.Timestamp4The timestamp of this event.
caused_by_userstring5The 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_namestring6The 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_idint3211The ID of the user account whose activity lead to this event. If no user (this is a system operation), this is zero.
dataEventTypeSpecificDataUnion7Additional event type -specific data as a union.
notification_createdbool8Tells if the notifications have been created.
notification_object_infoDocumentInfoForNotifications9Document info. This is valid only until the notifications have been created.
xml_datastring10The data represented in XML.

Used by methods

Used in fields