Drive Audit Activity Events

Оптимизируйте свои подборки Сохраняйте и классифицируйте контент в соответствии со своими настройками.

В этом документе перечислены события и параметры для различных типов событий активности Drive Audit. Вы можете получить эти события, вызвав Activity.list() с applicationName=drive .

Доступ

События этого типа возвращаются с type=access .

Добавить в папку

Документ добавить в папку.

Детали события
Название события add_to_folder
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

destination_ folder_ id

string

Идентификатор папки назначения.

destination_ folder_ title

string

Название папки назначения.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= add_to_folder &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} added an item to {destination_folder_title}

Одобрение отменено

Одобрение диска отменено.

Детали события
Название события approval_canceled
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_canceled &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} canceled an approval on an item

Добавлен комментарий об одобрении

Добавлен комментарий об одобрении диска.

Детали события
Название события approval_comment_added
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_comment_added &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} added a comment on an approval on an item

Утверждение завершено

Утверждение диска завершено.

Детали события
Название события approval_completed
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_completed &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
An approval was completed

Сброс решений об утверждении

Решения об одобрении Диска сброшены.

Детали события
Название события approval_decisions_reset
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_decisions_reset &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
Approval decisions were reset

Изменение срока утверждения

Управляйте утверждением из-за изменения времени.

Детали события
Название события approval_due_time_change
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_due_time_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} requested a due time change on an approval

Запрошено утверждение

Запрошено разрешение привода.

Детали события
Название события approval_requested
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_requested &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} requested approval on an item

Смена рецензента утверждения

Смена рецензента утверждения.

Детали события
Название события approval_reviewer_change
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_reviewer_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} requested a reviewer change on an approval

Рецензент утверждения ответил

Рецензент утверждения Диска ответил.

Детали события
Название события approval_reviewer_responded
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= approval_reviewer_responded &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} reviewed an approval on an item

Копировать

Копия документа.

Детали события
Название события copy
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

copy_ type

string

Тип копии документа. Возможные значения:

  • external
    Тип копирования внешний.
  • internal
    Тип копирования внутренний.
doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

new_ value

string

Новое значение.

old_ value

string

Старое значение.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= copy &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} created a copy of original document {old_value}

Создавать

Документ создать.

Детали события
Название события create
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= create &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} created an item

Удалить

Удаление документа.

Детали события
Название события delete
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= delete &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} deleted an item

Скачать

Загрузка документа.

Детали события
Название события download
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= download &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} downloaded an item

Дисковая электронная почта как вложение

Детали события
Название события email_as_attachment
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа QuickTime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
target

string

Целевой пользователь или группа.

shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= email_as_attachment &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} shared this document as an email attachment to {target}

Редактировать

Правка документа.

Детали события
Название события edit
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Тип документа MS Powerpoint.
  • msword
    Тип документа MS Word.
  • pdf
    Тип документа PDF.
  • png
    Тип документа PNG.
  • presentation
    Представление типа документа.
  • quicktime
    Тип документа Quicktime.
  • script
    Тип документа — Google Script.
  • shortcut
    Тип документа — ярлык Google.
  • sites
    Тип документа — Сайты Google.
  • spreadsheet
    Электронная таблица типа документа.
  • shared_drive
    Тип документа – общий диск.
  • txt
    Тип документа txt.
  • unknown
    Тип документа неизвестен.
is_ encrypted

boolean

Зашифрован ли файл на стороне клиента.

originating_ app_ id

string

Идентификатор проекта Google Cloud приложения, выполнившего действие. Используйте Drive REST API , чтобы получить название приложения.

owner

string

Адрес электронной почты владельца документа. Для элементов, содержащихся на общем диске, владельцем является имя общего диска.

owner_ is_ shared_ drive

boolean

Логический флаг, указывающий, является ли владелец общим диском.

primary_ event

boolean

Является ли это первичным событием. Одно действие пользователя на Диске может генерировать несколько событий, несколько из которых могут быть первичными ( primary_event=true ). Остальные события считаются побочными эффектами основного события (событий) ( primary_event=false ). Например, когда пользователь создает документ, генерируются несколько событий, и только событие создания имеет значение primary_event=true . Но когда пользователь делится документом с несколькими другими пользователями одним действием, для каждого пользователя создается событие изменения доступа с primary_event=true . Возможные значения:

  • false
    Логическое значение false.
  • true
    Логическое значение истинно.
shared_ drive_ id

string

Уникальный идентификатор общего диска. Заполняется только для событий или элементов с общего диска.

visibility

string

Видимость целевого файла. Возможные значения:

  • people_with_link
    Любой, у кого есть ссылка, может получить доступ.
  • people_within_domain_with_link
    Любой, у кого есть ссылка в аудитории, может получить доступ.
  • private
    Частный.
  • public_in_the_domain
    Любой в пределах аудитории может получить доступ.
  • public_on_the_web
    Публично в сети.
  • shared_externally
    Совместно с явными пользователями/группами, внешними по отношению к домену.
  • shared_internally
    Совместно с явными пользователями/группами внутри домена.
  • unknown
    Неизвестная видимость.
Пример запроса
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= edit &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Формат сообщения консоли администратора
{actor} edited an item

Скачаны ответы форм

Скачать ответы форм.

Детали события
Название события download_forms_response
Параметры
actor_ is_ collaborator_ account

boolean

Является ли актер учетной записью соавтора.

billable

boolean

Оплачивается ли эта деятельность.

doc_ id

string

Идентификатор документа.

doc_ title

string

Название документа.

doc_ type

string

Тип документа. Возможные значения:

  • document
    Документ типа док.
  • drawing
    Чертеж типа документа.
  • folder
    Папка типа документа.
  • form
    Форма типа документа.
  • html
    Тип документа HTML.
  • jam
    Тип документа Джем.
  • jpeg
    Тип документа JPEG.
  • mp4
    Тип документа MP4.
  • mpeg
    Тип документа MPEG.
  • msexcel
    Тип документа MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= download_forms_response &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} downloaded forms responses

Label applied

Label was applied.

Event details
Event name label_added
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

label

string

The unique Identifier of a Label.

label_ title

string

Label title.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
reason

string

Reason for label addition, removal, or value change event. Possible values:

  • copy
    Reason for change Drive item copy.
  • default_label
    Reason for change default label behavior.
  • dlp_action
    Reason for change DLP.
  • reason_unspecified
    Reason for change unspecified.
  • user_action
    Reason for change is a user action.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= label_added &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} applied Label {label_title} .

Label applied on creation

Label was applied automatically when the Drive item was created.

Event details
Event name label_added_by_item_create
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

label

string

The unique Identifier of a Label.

label_ title

string

Label title.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
reason

string

Reason for label addition, removal, or value change event. Possible values:

  • copy
    Reason for change Drive item copy.
  • default_label
    Reason for change default label behavior.
  • dlp_action
    Reason for change DLP.
  • reason_unspecified
    Reason for change unspecified.
  • user_action
    Reason for change is a user action.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= label_added_by_item_create &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
Label {label_title} was automatically applied on creation.

Label field value changed

Label Field value was changed.

Event details
Event name label_field_changed
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
field

string

Label Field display name.

field_ id

string

Label Field ID.

is_ encrypted

boolean

Whether the file is client side encrypted.

label

string

The unique Identifier of a Label.

label_ title

string

Label title.

new_ value

string

New Value.

new_ value_ id

string

New Value IDs.

old_ value

string

Old Value.

old_ value_ id

string

Old Value IDs.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
reason

string

Reason for label addition, removal, or value change event. Possible values:

  • copy
    Reason for change Drive item copy.
  • default_label
    Reason for change default label behavior.
  • dlp_action
    Reason for change DLP.
  • reason_unspecified
    Reason for change unspecified.
  • user_action
    Reason for change is a user action.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= label_field_changed &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed the value of field {field} (Label: {label_title} ) from ' {old_value} ' to ' {new_value} '.

Label removed

Label was removed.

Event details
Event name label_removed
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

label

string

The unique Identifier of a Label.

label_ title

string

Label title.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
reason

string

Reason for label addition, removal, or value change event. Possible values:

  • copy
    Reason for change Drive item copy.
  • default_label
    Reason for change default label behavior.
  • dlp_action
    Reason for change DLP.
  • reason_unspecified
    Reason for change unspecified.
  • user_action
    Reason for change is a user action.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= label_removed &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed Label {label_title} .

Lock

Document lock.

Event details
Event name add_lock
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= add_lock &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} locked an item

Move

Document move.

Event details
Event name move
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

destination_ folder_ id

string

Destination folder Id.

destination_ folder_ title

string

Destination folder title.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
source_ folder_ id

string

Source folder Id.

source_ folder_ title

string

Source folder title.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= move &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} moved an item from {source_folder_title} to {destination_folder_title}

Preview

Document preview.

Event details
Event name preview
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= preview &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} previewed an item

Print

Document print.

Event details
Event name print
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= print &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} printed an item

Remove from folder

Document remove from folder.

Event details
Event name remove_from_folder
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
source_ folder_ id

string

Source folder Id.

source_ folder_ title

string

Source folder title.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= remove_from_folder &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed an item from {source_folder_title}

Rename

Document rename.

Event details
Event name rename
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value.

old_ value

string

Old Value.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= rename &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} renamed {old_value} to {new_value}

Restore

Document restore.

Event details
Event name untrash
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= untrash &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} restored an item

Sheets ImportRange

Event details
Event name sheets_import_range
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type.

is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee.

sheets_ import_ range_ recipient_ doc

string

Sheets ImportRange recipient doc.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= sheets_import_range &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{sheets_import_range_recipient_doc} imported range from an item

Source Copy

Source document copy.

Event details
Event name source_copy
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

copy_ type

string

Doc copy type. Possible values:

  • external
    Copy type external.
  • internal
    Copy type internal.
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value.

old_ value

string

Old Value.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= source_copy &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} copied this item, creating a new item {copy_type} your organization {new_value}

Trash

Document trash.

Event details
Event name trash
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= trash &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} trashed an item

Unlock

Document unlock.

Event details
Event name remove_lock
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= remove_lock &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} unlocked an item

Unmovable item relocated

Unmovable document reparented.

Event details
Event name unmovable_item_reparented
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

destination_ folder_ id

string

Destination folder Id.

destination_ folder_ title

string

Destination folder title.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
source_ folder_ id

string

Source folder Id.

source_ folder_ title

string

Source folder title.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= unmovable_item_reparented &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
When a parent folder was moved, an item that couldn't be moved was relocated from {source_folder_title} to {destination_folder_title}

Upload

Document upload.

Event details
Event name upload
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= upload &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} uploaded an item

View

Document view.

Event details
Event name view
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= view &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} viewed an item

ACL changed

ACL Changed. Events of this type are returned with type=acl_change .

Apply Security Update

Document apply security update.

Event details
Event name apply_security_update
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= apply_security_update &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} applied the security update to a file

Bulk Apply Security Update

Bulk apply security update.

Event details
Event name shared_drive_apply_security_update
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= shared_drive_apply_security_update &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} applied the security update to all files in a shared drive

Bulk Remove Security Update

Bulk remove security update.

Event details
Event name shared_drive_remove_security_update
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= shared_drive_remove_security_update &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed the security update from all files in a shared drive

Drive Publish Status Change

Event details
Event name publish_change
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ publish_ visibility

string

New Publish Visibility Value. Possible values:

  • nobody
    Nobody.
  • public_in_the_domain
    Anyone within the audience can view published document.
  • public_on_the_web
    Anyone on the web can view published document.
  • unchanged
    Unchanged.
new_ value

string

New Value. Possible values:

  • auto
    Publish Live File.
  • fixed
    Publish a Version.
  • none
    Unpublished.
  • unchanged
    Unchanged.
old_ publish_ visibility

string

Old Publish Visibility Value. Possible values:

  • nobody
    Nobody.
  • public_in_the_domain
    Anyone within the audience can view published document.
  • public_on_the_web
    Anyone on the web can view published document.
  • unchanged
    Unchanged.
old_ value

string

Old Value. Possible values:

  • auto
    Publish Live File.
  • fixed
    Publish a Version.
  • none
    Unpublished.
  • unchanged
    Unchanged.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= publish_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed publish status from {old_value} to {new_value} and changed visibility from {old_publish_visibility} to {new_publish_visibility}

Editor Settings Change

Editor Settings Changed.

Event details
Event name change_acl_editors
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • owner
    The person modifying the access on the file is the Owner of the file.
  • writers
    The person modifying the access on the file is a Writer (Editor) of the file.
old_ value

string

Old Value. Possible values:

  • owner
    The person modifying the access on the file is the Owner of the file.
  • writers
    The person modifying the access on the file is a Writer (Editor) of the file.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_acl_editors &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed editor settings from {old_value} to {new_value}

Link Sharing Access Type Change

Change in link sharing access type of document.

Event details
Event name change_document_access_scope
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ value

string

Old Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ domain

string

Optional. The domain for which the access scope was changed. This can also be the alias all to indicate the access scope was changed for all domains that have visibility for this document.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_document_access_scope &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed link sharing access type from {old_value} to {new_value} for {target_domain}

Link Sharing Access Type Change from Parent Folder

Change in link sharing access type of document due to hierarchy reconciliation.

Event details
Event name change_document_access_scope_hierarchy_reconciled
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ value

string

Old Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ domain

string

Optional. The domain for which the access scope was changed. This can also be the alias all to indicate the access scope was changed for all domains that have visibility for this document.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_document_access_scope_hierarchy_reconciled &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed link sharing access type from {old_value} to {new_value} for {target_domain}

Link Sharing visibility change

Change in link sharing visibility of document.

Event details
Event name change_document_visibility
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • people_with_link
    Anyone with the link on the web can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • private
    Document link not exposed, apart from possible sharing with individual users/groups (even outside the domain).
  • public_in_the_domain
    Anyone within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • public_on_the_web
    Public on the web.
old_ value

string

Old Value. Possible values:

  • people_with_link
    Anyone with the link on the web can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • private
    Document link not exposed, apart from possible sharing with individual users/groups (even outside the domain).
  • public_in_the_domain
    Anyone within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • public_on_the_web
    Public on the web.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ domain

string

Optional. The domain for which the access scope was changed. This can also be the alias all to indicate the access scope was changed for all domains that have visibility for this document.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_document_visibility &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed link sharing visibility from {old_value} to {new_value} for {target_domain}

Link Sharing visibility change from Parent Folder

Change in link sharing visibility of document due to hierarchy reconciliation.

Event details
Event name change_document_visibility_hierarchy_reconciled
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • people_with_link
    Anyone with the link on the web can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • private
    Document link not exposed, apart from possible sharing with individual users/groups (even outside the domain).
  • public_in_the_domain
    Anyone within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • public_on_the_web
    Public on the web.
old_ value

string

Old Value. Possible values:

  • people_with_link
    Anyone with the link on the web can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • private
    Document link not exposed, apart from possible sharing with individual users/groups (even outside the domain).
  • public_in_the_domain
    Anyone within the audience can access, apart from possible sharing with individual users/groups outside the audience.
  • public_on_the_web
    Public on the web.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ domain

string

Optional. The domain for which the access scope was changed. This can also be the alias all to indicate the access scope was changed for all domains that have visibility for this document.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_document_visibility_hierarchy_reconciled &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
Due to a change in a parent folder, the link sharing visibility for {target_domain} changed from {old_value} to {new_value}

Remove security update

Document remove security update.

Event details
Event name remove_security_update
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= remove_security_update &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed the security update from a file

Shared Drive Membership Change

Shared drive Membership Change.

Event details
Event name shared_drive_membership_change
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

added_ role

string

Added membership role to a user or group in a shared drive. See Shared drives access for more information about roles. Possible values:

  • commenter
    Team Drive role Commenter.
  • content_manager
    Team Drive role Content manager.
  • editor
    Team Drive role Contributor.
  • none
    No role in Team Drive.
  • organizer
    Team Drive role Manager.
  • viewer
    Team Drive role Viewer.
billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

membership_ change_ type

string

Type of change in Team Drive membership of a user/group. Possible values:

  • add_to_shared_drive
    Addition to a Team Drive.
  • change_roles
    Change of a member's role in a Team Drive.
  • re_share
    Re-share of a member's role in a Team Drive.
  • remove_from_shared_drive
    Removal from a Team Drive.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
removed_ role

string

Removed membership role of a user/group in a Team Drive. Possible values:

  • commenter
    Team Drive role Commenter.
  • content_manager
    Team Drive role Content manager.
  • editor
    Team Drive role Contributor.
  • none
    No role in Team Drive.
  • organizer
    Team Drive role Manager.
  • viewer
    Team Drive role Viewer.
target

string

Target User or Group.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= shared_drive_membership_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} made a membership change of type {membership_change_type} for {target} by removing role(s) {removed_role} and adding role(s) {added_role}

Shared Drive Settings Change

Event details
Event name shared_drive_settings_change
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ settings_ state

string

New state of Team Drive settings. Possible values:

  • none
    Team Drive settings change value None.
  • restricted
    Team Drive settings change value Restricted.
  • unrestricted
    Team Drive settings change value Unrestricted.
old_ settings_ state

string

Old state of Team Drive settings. Possible values:

  • none
    Team Drive settings change value None.
  • restricted
    Team Drive settings change value Restricted.
  • unrestricted
    Team Drive settings change value Unrestricted.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target

string

Target User or Group.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

shared_ drive_ settings_ change_ type

string

Type of change in Team Drive settings. Possible values:

  • cross_domain_sharing
    A Team Drive settings change that restricts or unrestricts the ability for the contents within the Team Drive to be shared outside the domain.
  • direct_acl
    A Team Drive settings change that restricts or unrestricts the ability to add users directly onto a file when they're not a member.
  • download
    A Team Drive settings change that restricts or unrestricts a user's ability to download files from the Team Drive.
  • drive_fs
    A Team Drive settings change that restricts or unrestricts access to Drive File Stream.
visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= shared_drive_settings_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed {team_drive_settings_change_type} setting from {old_settings_state} to {new_settings_state}

Sheets ImportRange access change

Event details
Event name sheets_import_range_access_change
Parameters
doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type.

is_ encrypted

boolean

Whether the file is client side encrypted.

originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee.

sheets_ import_ range_ recipient_ doc

string

Sheets ImportRange recipient doc.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= sheets_import_range_access_change &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} enabled Sheets range import to {sheets_import_range_recipient_doc}

User Sharing Permissions Change

User Sharing Permissions Changed.

Event details
Event name change_user_access
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ value

string

Old Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ user

string

The email address of the user or group whose access permissions were changed, or the name of the domain for which access permissions were changed.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_user_access &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed sharing permissions for {target_user} from {old_value} to {new_value}

User Sharing Permissions Change from Parent Folder

User Sharing Permissions Changed due to hierarchy reconciliation.

Event details
Event name change_user_access_hierarchy_reconciled
Parameters
actor_ is_ collaborator_ account

boolean

Whether actor is a collaborator account.

billable

boolean

Whether this activity is billable.

doc_ id

string

Document Id.

doc_ title

string

Document title.

doc_ type

string

Document type. Possible values:

  • document
    Doc type document.
  • drawing
    Doc type drawing.
  • folder
    Doc type folder.
  • form
    Doc type form.
  • html
    Doc type HTML.
  • jam
    Doc type Jam.
  • jpeg
    Doc type JPEG.
  • mp4
    Doc type MP4.
  • mpeg
    Doc type MPEG.
  • msexcel
    Doc type MS Excel.
  • mspowerpoint
    Doc type MS Powerpoint.
  • msword
    Doc type MS Word.
  • pdf
    Doc type PDF.
  • png
    Doc type PNG.
  • presentation
    Doc type presentation.
  • quicktime
    Doc type Quicktime.
  • script
    Doc type is Google Script.
  • shortcut
    Doc type is Google Shortcut.
  • sites
    Doc type is Google Sites.
  • spreadsheet
    Doc type spreadsheet.
  • shared_drive
    Doc type is a shared drive.
  • txt
    Doc type txt.
  • unknown
    Doc type unknown.
is_ encrypted

boolean

Whether the file is client side encrypted.

new_ value

string

New Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ value

string

Old Value. Possible values:

  • can_comment
    Can comment.
  • can_edit
    Can edit.
  • can_respond
    Can respond.
  • can_view
    Can view.
  • can_view_published
    Can view published.
  • none
    Scope none.
  • organizer
    Manager.
  • owner
    Is a owner.
old_ visibility

string

Old Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
originating_ app_ id

string

The Google Cloud Project ID of the application that performed the action. Use the Drive REST API to retrieve the app title.

owner

string

Email address of the document's owner. For items contained in a shared drive, the owner is the name of the shared drive.

owner_ is_ shared_ drive

boolean

Boolean flag denoting whether owner is a shared drive.

primary_ event

boolean

Whether this is a primary event. A single user action in Drive may generate several events, multiple of which can be primary ( primary_event=true ). The remaining events are deemed to be side effects of the primary event(s) ( primary_event=false ). For example, when a user creates a document, several events are generated, with only the create event having primary_event=true . But when a user shares a document with multiple other users in one action, an access change event having primary_event=true is created for each sharee. Possible values:

  • false
    Boolean value false.
  • true
    Boolean value true.
target_ user

string

The email address of the user or group whose access permissions were changed, or the name of the domain for which access permissions were changed.

shared_ drive_ id

string

The unique identifier of the shared drive. Only populated for events or items from a shared drive.

visibility

string

Visibility of Target File. Possible values:

  • people_with_link
    Anyone with the link can access.
  • people_within_domain_with_link
    Anyone with the link within the audience can access.
  • private
    Private.
  • public_in_the_domain
    Anyone within the audience can access.
  • public_on_the_web
    Public on the web.
  • shared_externally
    Shared with explicit users/groups external to the domain.
  • shared_internally
    Shared with explicit users/groups internal to the domain.
  • unknown
    Unknown visibility.
visibility_ change

string

Change in overall visibility of the file. Possible values:

  • external
    Overall visibility changed from internal to external.
  • internal
    Overall visibility changed from external to internal.
  • none
    No change in overall visibility.
Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= change_user_access_hierarchy_reconciled &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
Due to a change in a parent folder, the sharing permissions for {target_user} changed from {old_value} to {new_value}

Pooled quota metadata

Events of this type are returned with type=pooled_quota_metadata .

Storage Usage Update

Drive storage usage update.

Event details
Event name storage_usage_update
Parameters
storage_ entity_ id

integer

Entity that uses the storage.

storage_ usage_ in_ bytes

integer

Storage usage (in bytes).

Sample request
GET https://admin.googleapis.com /admin /reports /v1 /activity /users /all /applications / drive ?eventName= storage_usage_update &maxResults=10 &access_token= YOUR_ACCESS_TOKEN
Admin Console message format
Storage usage update for {actor}