google_api_apps_activity v0.11.1 GoogleApi.AppsActivity.V1.Model.Event View Source

Represents the changes associated with an action taken by a user.

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.