google_api_apps_activity v0.3.0 GoogleApi.AppsActivity.V1.Model.Event View Source
Represents the changes associated with an action taken by a user.
Attributes
- additionalEventTypes (list(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
nil
. - eventTimeMillis (String.t): The time at which the event occurred formatted as Unix time in milliseconds. Defaults to
nil
. - fromUserDeletion (boolean()): Whether this event is caused by a user being deleted. Defaults to
nil
. - move (GoogleApi.AppsActivity.V1.Model.Move.t): Extra information for move type events, such as changes in an object's parents. Defaults to
nil
. - permissionChanges (list(GoogleApi.AppsActivity.V1.Model.PermissionChange.t)): Extra information for permissionChange type events, such as the user or group the new permission applies to. Defaults to
nil
. - primaryEventType (String.t): The main type of event that occurred. Defaults to
nil
. - rename (GoogleApi.AppsActivity.V1.Model.Rename.t): Extra information for rename type events, such as the old and new names. Defaults to
nil
. - target (GoogleApi.AppsActivity.V1.Model.Target.t): Information specific to the Target object modified by the event. Defaults to
nil
. - user (GoogleApi.AppsActivity.V1.Model.User.t): Represents the user responsible for the event. Defaults to
nil
.
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: [String.t()],
eventTimeMillis: String.t(),
fromUserDeletion: boolean(),
move: GoogleApi.AppsActivity.V1.Model.Move.t(),
permissionChanges: [GoogleApi.AppsActivity.V1.Model.PermissionChange.t()],
primaryEventType: String.t(),
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: [String.t()], eventTimeMillis: String.t(), fromUserDeletion: boolean(), move: GoogleApi.AppsActivity.V1.Model.Move.t(), permissionChanges: [GoogleApi.AppsActivity.V1.Model.PermissionChange.t()], primaryEventType: String.t(), 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.