Enterprise Groups Audit Activity Events

This document lists the events and parameters for various types of Enterprise Groups Audit activity events. You can retrieve these events by calling Activities.list() with applicationName=groups_enterprise.

Moderator action

Action performed by moderator. Events of this type are returned with type=moderator_action.

Accept Invitation

User accepted an invitation to join a group.

Event details
Event name accept_invitation
Parameters
group_id

string

Identifier of the target group.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=accept_invitation&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} accepted an invitation to group {group_id}

Add Info Setting

Group info setting was added.

Event details
Event name add_info_setting
Parameters
group_id

string

Identifier of the target group.

info_setting

string

Group info setting.

namespace

string

Namespace of the target group.

value

string

Value of a group setting.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=add_info_setting&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added {info_setting} with value {value} in group {group_id} for the {namespace} namespace

Add Service Account Permission

Permission was added to a service account.

Event details
Event name add_service_account_permission
Parameters
member_id

string

Identifier of the member.

member_role

string

A group's member role.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=add_service_account_permission&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added {member_role} permission to {member_id} for the {namespace} namespace

Add User

User was added to a group.

Event details
Event name add_user
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

member_role

string

A group's member role.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=add_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added {member_id} to group {group_id} with role {member_role}

Add User Role

Role was added to a user in a group.

Event details
Event name add_user_role
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

member_role

string

A group's member role.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=add_user_role&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added role(s) {member_role} for user {member_id} in group {group_id}

Approve Join Request

User approved a join request.

Event details
Event name approve_join_request
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=approve_join_request&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} approved join request from {member_id} to group {group_id}

Ban User with Moderation

User was banned from group with a moderation.

Event details
Event name ban_user_with_moderation
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=ban_user_with_moderation&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} banned user {member_id} from group {group_id} during message moderation

Change Info Setting

Group info setting was changed.

Event details
Event name change_info_setting
Parameters
group_id

string

Identifier of the target group.

info_setting

string

Group info setting.

namespace

string

Namespace of the target group.

new_value

string

New value of a group setting.

old_value

string

Old value of a group setting.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=change_info_setting&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} changed {info_setting} from {old_value} to {new_value} in group {group_id} for the {namespace} namespace

Create Group

Group was created.

Event details
Event name create_group
Parameters
group_id

string

Identifier of the target group.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=create_group&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} created group {group_id} for the {namespace} namespace

Create Namespace

Namespace was created.

Event details
Event name create_namespace
Parameters
namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=create_namespace&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} created a namespace {namespace}

Delete Group

Group was deleted.

Event details
Event name delete_group
Parameters
group_id

string

Identifier of the target group.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=delete_group&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} deleted group {group_id} for the {namespace} namespace

Delete Namespace

Namespace was deleted.

Event details
Event name delete_namespace
Parameters
namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=delete_namespace&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} deleted a namespace {namespace}

Invite User

User was invited to a group.

Event details
Event name invite_user
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=invite_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} invited {member_id} to group {group_id}

Join

User added themself to a group.

Event details
Event name join
Parameters
group_id

string

Identifier of the target group.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=join&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} added themself to group {group_id}

Reject Join Request

User rejected a join request.

Event details
Event name reject_join_request
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=reject_join_request&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} rejected join request from {member_id} to group {group_id}

Remove Info Setting

Group info setting was removed.

Event details
Event name remove_info_setting
Parameters
group_id

string

Identifier of the target group.

info_setting

string

Group info setting.

namespace

string

Namespace of the target group.

value

string

Value of a group setting.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=remove_info_setting&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed {info_setting} with value {value} in group {group_id} for the {namespace} namespace

Remove Service Account Permission

Permission was removed for a service account.

Event details
Event name remove_service_account_permission
Parameters
member_id

string

Identifier of the member.

member_role

string

A group's member role.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=remove_service_account_permission&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed {member_role} permission of {member_id} for the {namespace} namespace

Remove User

User was removed from a group.

Event details
Event name remove_user
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=remove_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed {member_id} from group {group_id}

Remove User Role

Role was removed for a user in a group.

Event details
Event name remove_user_role
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

member_role

string

A group's member role.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=remove_user_role&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed role(s) {member_role} for user {member_id} in group {group_id}

Request to Join

User requested to join a group.

Event details
Event name request_to_join
Parameters
group_id

string

Identifier of the target group.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=request_to_join&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} requested to join group {group_id}

Revoke Invitation

User revoked an invitation sent to another user.

Event details
Event name revoke_invitation
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=revoke_invitation&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} revoked invitation to {member_id} from group {group_id}

Unban User

User was unbanned from a group.

Event details
Event name unban_user
Parameters
group_id

string

Identifier of the target group.

member_id

string

Identifier of the member.

namespace

string

Namespace of the target group.

Sample request
GET https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/groups_enterprise?eventName=unban_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
Admin Console message format
{actor} removed ban for user {member_id} for group {group_id}