google_api_apps_activity v0.2.0 GoogleApi.AppsActivity.V1.Model.Event View Source
Represents the changes associated with an action taken by a user.
Attributes
additionalEventTypes ([String.t]): Additional event types. Some events may have multiple types when multiple actions are part of a single event. For example, creating a document, renaming it, and sharing it may be part of a single file-creation event. Defaults to:
null
.- Enum - one of
- eventTimeMillis (String.t): The time at which the event occurred formatted as Unix time in milliseconds. Defaults to:
null
. - fromUserDeletion (boolean()): Whether this event is caused by a user being deleted. Defaults to:
null
. - move (Move): Extra information for move type events, such as changes in an object's parents. Defaults to:
null
. - permissionChanges ([PermissionChange]): Extra information for permissionChange type events, such as the user or group the new permission applies to. Defaults to:
null
. primaryEventType (String.t): The main type of event that occurred. Defaults to:
null
.- Enum - one of [comment, create, edit, emptyTrash, move, permissionChange, rename, trash, unknown, untrash, upload]
- rename (Rename): Extra information for rename type events, such as the old and new names. Defaults to:
null
. - target (Target): Information specific to the Target object modified by the event. Defaults to:
null
. - user (User): Represents the user responsible for the event. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AppsActivity.V1.Model.Event{
additionalEventTypes: [any()],
eventTimeMillis: any(),
fromUserDeletion: any(),
move: GoogleApi.AppsActivity.V1.Model.Move.t(),
permissionChanges: [GoogleApi.AppsActivity.V1.Model.PermissionChange.t()],
primaryEventType: any(),
rename: GoogleApi.AppsActivity.V1.Model.Rename.t(),
target: GoogleApi.AppsActivity.V1.Model.Target.t(),
user: GoogleApi.AppsActivity.V1.Model.User.t()
}
t() :: %GoogleApi.AppsActivity.V1.Model.Event{ additionalEventTypes: [any()], eventTimeMillis: any(), fromUserDeletion: any(), move: GoogleApi.AppsActivity.V1.Model.Move.t(), permissionChanges: [GoogleApi.AppsActivity.V1.Model.PermissionChange.t()], primaryEventType: any(), rename: GoogleApi.AppsActivity.V1.Model.Rename.t(), target: GoogleApi.AppsActivity.V1.Model.Target.t(), user: GoogleApi.AppsActivity.V1.Model.User.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.