Drive Activity API v1 has reached the end of its deprecation period and is shutting down as announced in December 2018. Migrate to API v2 as soon as possible to avoid disruptions to your application.

ActionDetail

ActionDetail

Data describing the type and additional information of an action.

JSON representation
{

  // Union field action_detail can be only one of the following:
  "create": {
    object (Create)
  },
  "edit": {
    object (Edit)
  },
  "move": {
    object (Move)
  },
  "rename": {
    object (Rename)
  },
  "delete": {
    object (Delete)
  },
  "restore": {
    object (Restore)
  },
  "permissionChange": {
    object (PermissionChange)
  },
  "comment": {
    object (Comment)
  },
  "dlpChange": {
    object (DataLeakPreventionChange)
  },
  "reference": {
    object (ApplicationReference)
  },
  "settingsChange": {
    object (SettingsChange)
  }
  // End of list of possible types for union field action_detail.
}
Fields
Union field action_detail . Data describing the type and additional information of an action. action_detail can be only one of the following:
create

object ( Create )

An object was created.

edit

object ( Edit )

An object was edited.

move

object ( Move )

An object was moved.

rename

object ( Rename )

An object was renamed.

delete

object ( Delete )

An object was deleted.

restore

object ( Restore )

A deleted object was restored.

permissionChange

object ( PermissionChange )

The permission on an object was changed.

comment

object ( Comment )

A change about comments was made.

dlpChange

object ( DataLeakPreventionChange )

A change happened in data leak prevention status.

reference

object ( ApplicationReference )

An object was referenced in an application outside of Drive/Docs.

settingsChange

object ( SettingsChange )

Settings were changed.