- 資源:Export
- UserInfo
- ExportOptions
- MailExportOptions
- ExportFormat
- GroupsExportOptions
- DriveExportOptions
- HangoutsChatExportOptions
- VoiceExportOptions
- CalendarExportOptions
- GeminiExportOptions
- ExportRegion
- ExportStatus
- ExportStats
- CloudStorageSink
- CloudStorageFile
- 方法
資源:Export
匯出項目。
如要使用保管箱資源,帳戶必須具備必要的保管箱權限,並存取案件。如要存取案件,帳戶必須是案件建立者、共用對象,或具備「查看所有案件」權限。
| JSON 表示法 |
|---|
{ "id": string, "matterId": string, "parentExportId": string, "name": string, "requester": { object ( |
| 欄位 | |
|---|---|
id |
僅供輸出。系統產生的匯出 ID。 |
matterId |
僅供輸出。案件 ID。 |
parentExportId |
僅供輸出。識別產生這個子匯出項目的父項匯出項目。這項設定只會套用至子匯出項目。 |
name |
匯出作業的名稱。請勿在名稱中使用特殊字元 (~!$'(),;@:/?),這會讓您無法下載匯出項目。 |
requester |
僅供輸出。匯出要求者。 |
query |
用於建立匯出作業的查詢參數。 |
exportOptions |
其他匯出選項。 |
createTime |
僅供輸出。匯出作業的建立時間。 使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例: |
status |
僅供輸出。匯出作業的狀態。 |
stats |
僅供輸出。匯出進度和大小的詳細資料。 |
聯集欄位 export_sink。匯出接收器類型。export_sink 只能是下列其中一項: |
|
cloudStorageSink |
僅供輸出。Cloud Storage 中匯出檔案的接收器。 |
UserInfo
使用者資訊。
| JSON 表示法 |
|---|
{ "email": string, "displayName": string } |
| 欄位 | |
|---|---|
email |
使用者的電子郵件地址。 |
displayName |
顯示的使用者名稱。 |
ExportOptions
其他匯出選項
| JSON 表示法 |
|---|
{ "region": enum ( |
| 欄位 | |
|---|---|
region |
匯出資料要求的資料地區。 |
聯集欄位 corpus_export_options。匯出作業的服務專屬選項。corpus_export_options 只能是下列其中一項: |
|
mailOptions |
Gmail 匯出選項。 |
groupsOptions |
群組匯出選項。 |
driveOptions |
雲端硬碟匯出選項。 |
hangoutsChatOptions |
Chat 匯出選項。 |
voiceOptions |
語音匯出選項。 |
calendarOptions |
可匯出日曆。 |
geminiOptions |
可匯出 Gemini 記錄。 |
MailExportOptions
Gmail 匯出選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出郵件的檔案格式。 |
showConfidentialModeContent |
如要匯出機密模式內容,請設為 true。 |
useNewExport |
如要使用新版匯出系統,請設為 true。 |
exportLinkedDriveFiles |
(選用步驟) 如要啟用匯出已連結雲端硬碟檔案的功能,請設為「true」。 |
ExportFormat
訊息匯出格式
| 列舉 | |
|---|---|
EXPORT_FORMAT_UNSPECIFIED |
未指定匯出格式。 |
MBOX |
匯出為 MBOX 檔案。僅適用於 Gmail、Google 網路論壇、Hangouts 和 Google Voice。 |
PST |
匯出為 PST 檔案。僅適用於 Gmail、Google 網路論壇、環聊、Google Voice 和日曆。 |
ICS |
匯出為 ICS 檔案。僅適用於日曆。 |
XML |
匯出為 XML。僅適用於 Gemini。 |
GroupsExportOptions
群組匯出選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出郵件的檔案格式。 |
DriveExportOptions
雲端硬碟匯出選項。
| JSON 表示法 |
|---|
{ "includeAccessInfo": boolean } |
| 欄位 | |
|---|---|
includeAccessInfo |
如要納入擁有檔案間接存取權的使用者存取層級資訊,請設為 true。 |
HangoutsChatExportOptions
Chat 匯出選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出郵件的檔案格式。 |
VoiceExportOptions
Voice 匯出作業的選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出文字訊息的檔案格式。 |
CalendarExportOptions
日曆匯出選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出文字訊息的檔案格式。 |
GeminiExportOptions
Gemini 匯出選項。
| JSON 表示法 |
|---|
{
"exportFormat": enum ( |
| 欄位 | |
|---|---|
exportFormat |
匯出郵件的檔案格式。 |
ExportRegion
匯出的資料地區。
| 列舉 | |
|---|---|
EXPORT_REGION_UNSPECIFIED |
未指定區域。預設值為 ANY。 |
ANY |
不限地區。 |
US |
美國區域。 |
EUROPE |
歐洲區域。 |
ExportStatus
匯出作業的狀態。
| 列舉 | |
|---|---|
EXPORT_STATUS_UNSPECIFIED |
未指定狀態。 |
COMPLETED |
匯出完成。 |
FAILED |
匯出失敗。 |
IN_PROGRESS |
正在匯出。 |
ExportStats
匯出作業的進度資訊。
| JSON 表示法 |
|---|
{ "exportedArtifactCount": string, "totalArtifactCount": string, "sizeInBytes": string } |
| 欄位 | |
|---|---|
exportedArtifactCount |
已處理的郵件/訊息或檔案數量。 |
totalArtifactCount |
要匯出的郵件/訊息或檔案數量。 |
sizeInBytes |
匯出檔案大小 (以位元組為單位)。 |
CloudStorageSink
匯出 Cloud Storage 檔案的接收器。
| JSON 表示法 |
|---|
{
"files": [
{
object ( |
| 欄位 | |
|---|---|
files[] |
僅供輸出。Cloud Storage 中的匯出檔案。 |
CloudStorageFile
Cloud Storage 中的匯出檔案
| JSON 表示法 |
|---|
{ "bucketName": string, "objectName": string, "size": string, "md5Hash": string } |
| 欄位 | |
|---|---|
bucketName |
匯出檔案的 Cloud Storage bucket 名稱。您可以在 Cloud Storage JSON API 或 XML API 中使用這個值,但無法列出 bucket 內容。您可以改為依物件名稱取得個別匯出檔案。 |
objectName |
匯出檔案的 Cloud Storage 物件名稱。您可以在 Cloud Storage JSON API 或 XML API 中使用這個值。 |
size |
匯出檔案大小。 |
md5Hash |
檔案的 MD5 雜湊。 |
方法 |
|
|---|---|
|
建立匯出作業。 |
|
刪除匯出項目。 |
|
取得匯出項目。 |
|
列出指定案件中匯出項目的詳細資料。 |