Chat Audit Activity Events

本文說明各種 Chat 稽核活動事件的事件和參數。您可以呼叫 Activities.list() 並透過 applicationName=chat 擷取這些事件。

使用者操作

這個類型的事件會以 type=user_action 傳回。

新增聊天室成員

活動詳細資料
事件名稱 add_room_member
參數
actor

string

執行者。

actor_type

string

執行者類型的說明。可能的值包括:

  • ADMIN
    操作者類型是管理員。
  • NON_ADMIN
    操作者類型並非管理員。
room_id

string

聊天室 ID。

target_users

string

目標使用者。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=add_room_member&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} added a room member.

下載附件

活動詳細資料
事件名稱 attachment_download
參數
actor

string

執行者。

attachment_hash

string

附件雜湊。

attachment_name

string

附件名稱。

attachment_url

string

附件網址。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=attachment_download&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} downloaded an attachment.

上傳附件

活動詳細資料
事件名稱 attachment_upload
參數
actor

string

執行者。

attachment_hash

string

附件雜湊。

attachment_name

string

附件名稱。

dlp_scan_status

string

郵件或附件的資料遺失防護 (DLP) 掃描狀態說明。可能的值包括:

  • DLP_NOT_APPLICABLE
    資料遺失防護功能無法掃描訊息或附件,因此並未掃描。
  • DLP_PARTIALLY_SCANNED
    資料遺失防護功能無法掃描訊息或附件,但部分規則無法執行。
  • DLP_SCAN_FAILED
    無法掃描資料遺失防護或訊息/訊息。
  • DLP_SCANNED
    資料遺失防護功能已成功掃描訊息或附件。
  • DLP_SCANNED_AND_WARNED
    資料遺失防護功能已成功掃描郵件或附件,並警告寄件者疑似違規。
room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=attachment_upload&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} uploaded an attachment.

封鎖聊天室

活動詳細資料
事件名稱 block_room
參數
actor

string

執行者。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=block_room&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} blocked a room.

封鎖使用者

活動詳細資料
事件名稱 block_user
參數
actor

string

執行者。

room_id

string

聊天室 ID。

target_users

string

目標使用者。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=block_user&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} blocked a user.

已發起即時訊息

活動詳細資料
事件名稱 direct_message_started
參數
actor

string

執行者。

dlp_scan_status

string

郵件或附件的資料遺失防護 (DLP) 掃描狀態說明。可能的值包括:

  • DLP_NOT_APPLICABLE
    資料遺失防護功能無法掃描訊息或附件,因此並未掃描。
  • DLP_PARTIALLY_SCANNED
    資料遺失防護功能無法掃描訊息或附件,但部分規則無法執行。
  • DLP_SCAN_FAILED
    無法掃描資料遺失防護或訊息/訊息。
  • DLP_SCANNED
    資料遺失防護功能已成功掃描訊息或附件。
  • DLP_SCANNED_AND_WARNED
    資料遺失防護功能已成功掃描郵件或附件,並警告寄件者疑似違規。
room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=direct_message_started&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} started a direct message.

已建立表情符號

活動詳細資料
事件名稱 emoji_created
參數
actor

string

執行者。

emoji_shortcode

string

表情符號簡碼。

filename

string

檔案名稱。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=emoji_created&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} created an emoji.

已刪除表情符號

活動詳細資料
事件名稱 emoji_deleted
參數
actor

string

執行者。

emoji_shortcode

string

表情符號簡碼。

filename

string

檔案名稱。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=emoji_deleted&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} deleted an emoji.

接受邀請

活動詳細資料
事件名稱 invite_accept
參數
actor

string

執行者。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_accept&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} accepted an invitation to join a room.

拒絕邀請

活動詳細資料
事件名稱 invite_decline
參數
actor

string

執行者。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_decline&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} declined an invitation to join a room.

傳送邀請

活動詳細資料
事件名稱 invite_send
參數
actor

string

執行者。

room_id

string

聊天室 ID。

target_users

string

目標使用者。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=invite_send&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} sent an invite.

已編輯訊息

活動詳細資料
事件名稱 message_edited
參數
actor

string

執行者。

attachment_hash

string

附件雜湊。

attachment_name

string

附件名稱。

dlp_scan_status

string

郵件或附件的資料遺失防護 (DLP) 掃描狀態說明。可能的值包括:

  • DLP_NOT_APPLICABLE
    資料遺失防護功能無法掃描訊息或附件,因此並未掃描。
  • DLP_PARTIALLY_SCANNED
    資料遺失防護功能無法掃描訊息或附件,但部分規則無法執行。
  • DLP_SCAN_FAILED
    無法掃描資料遺失防護或訊息/訊息。
  • DLP_SCANNED
    資料遺失防護功能已成功掃描訊息或附件。
  • DLP_SCANNED_AND_WARNED
    資料遺失防護功能已成功掃描郵件或附件,並警告寄件者疑似違規。
message_id

string

訊息 ID。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=message_edited&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} edited a message.

已張貼訊息

活動詳細資料
事件名稱 message_posted
參數
actor

string

執行者。

attachment_hash

string

附件雜湊。

attachment_name

string

附件名稱。

dlp_scan_status

string

郵件或附件的資料遺失防護 (DLP) 掃描狀態說明。可能的值包括:

  • DLP_NOT_APPLICABLE
    資料遺失防護功能無法掃描訊息或附件,因此並未掃描。
  • DLP_PARTIALLY_SCANNED
    資料遺失防護功能無法掃描訊息或附件,但部分規則無法執行。
  • DLP_SCAN_FAILED
    無法掃描資料遺失防護或訊息/訊息。
  • DLP_SCANNED
    資料遺失防護功能已成功掃描訊息或附件。
  • DLP_SCANNED_AND_WARNED
    資料遺失防護功能已成功掃描郵件或附件,並警告寄件者疑似違規。
message_id

string

訊息 ID。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=message_posted&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} posted a message.

已檢舉郵件

活動詳細資料
事件名稱 message_reported
參數
actor

string

執行者。

message_id

string

訊息 ID。

report_type

string

聊天室中的報表類型說明。 可能的值包括:

  • CONFIDENTIAL_INFORMATION
    聊天室中的訊息回報為機密資訊。
  • DISCRIMINATION
    系統會區分聊天室中某封郵件的報表類型。
  • EXPLICIT_CONTENT
    聊天室中檢舉的訊息屬於煽情露骨內容。
  • HARASSMENT
    在聊天室中檢舉的訊息屬於騷擾行為。
  • OTHER
    在聊天室中回報的訊息類型是其他類型。
  • SENSITIVE_INFORMATION
  • SPAM
    在聊天室中回報的訊息類型是垃圾內容。
  • VIOLATION_UNSPECIFIED
room_id

string

聊天室 ID。

target_users

string

目標使用者。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=message_reported&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} reported a message.

移除聊天室成員

活動詳細資料
事件名稱 remove_room_member
參數
actor

string

執行者。

actor_type

string

執行者類型的說明。可能的值包括:

  • ADMIN
    操作者類型是管理員。
  • NON_ADMIN
    操作者類型並非管理員。
room_id

string

聊天室 ID。

target_users

string

目標使用者。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=remove_room_member&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} removed a room member.

已建立聊天室

活動詳細資料
事件名稱 room_created
參數
actor

string

執行者。

room_id

string

聊天室 ID。

要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/chat?eventName=room_created&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} created a room.