Admin Audit Activity Events - Drive Settings

This document lists the events and parameters for Drive Settings Admin Audit activity events. You can retrieve these events by calling Activities.list() with applicationName=admin.

Drive Settings

Events of this type are returned with type=DOCS_SETTINGS.

Document Ownership Change

Event details
Event name TRANSFER_DOCUMENT_OWNERSHIP
Parameters
DOMAIN_NAME

string

The primary domain name.

NEW_VALUE

string

The email address of the new owner of the file.

USER_EMAIL

string

The email address of the original owner of the file.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=TRANSFER_DOCUMENT_OWNERSHIP&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Ownership of documents with {USER_EMAIL} changed to be owned by {NEW_VALUE} in {DOMAIN_NAME}

Drive Data Restore

Event details
Event name DRIVE_DATA_RESTORE
Parameters
BEGIN_DATE_TIME

string

Begin date and time.

END_DATE_TIME

string

End date and time.

USER_EMAIL

string

The user's primary email address.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=DRIVE_DATA_RESTORE&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
Drive data restoration initiated for {USER_EMAIL}

Drive Setting Change

Event details
Event name CHANGE_DOCS_SETTING
Parameters
DOMAIN_NAME

string

The primary domain name of the organization where the setting was applied. Only returned for settings that are organization-wide. For settings that can be applied at to specific OUs, ORG_UNIT_NAME will be returned instead.

GROUP_EMAIL

string

The group's primary email address.

NEW_VALUE

string

The new value of the setting. The special value INHERIT_FROM_PARENT may be returned for settings that can be applied to a specific OU, and indicates that the OU should inherited its value from its parent OU.

OLD_VALUE

string

The old value of the setting. The special value INHERIT_FROM_PARENT may be returned for settings that can be applied to a specific OU, and indicates that the OU should inherited its value from its parent OU.

ORG_UNIT_NAME

string

The organizational unit (OU) name (path) where the setting was applied, or the primary domain name if the setting was applied to the entire organization. Only returned for settings that can be applied to specific OUs. For organization-wide settings, DOMAIN_NAME will be returned instead.

SETTING_NAME

string

The unique name (ID) of the setting that was changed.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=CHANGE_DOCS_SETTING&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{SETTING_NAME} for Drive changed from {OLD_VALUE} to {NEW_VALUE}

Send feedback about...

Reports API
Reports API
Need help? Visit our support page.