返回 Google Drive
將 Knoon AI 與 Google Drive (Google) 連接以自動化 AI 工作流程。
Export a Google Workspace file from Google Drive to another format and save it as an attachment. Maximum supported exported file size is 10MB.
googleDriveExportFileToAttachment
測試版
權限
可選權限
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| fileId | file | Select the Google Workspace file to export. Supported examples include Google Docs, Sheets, Slides, and Drawings. | 是的 |
| exportMimeType | mustache | Export MIME type to request from Google Drive (e.g. "application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/csv", "image/png"). Supported values depend on the Google Workspace file type. | 是的 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| status | string | DONE. |
| content | string | Attachment. |
| sensitive.sourceFileId | string | Original Google Drive file ID. |
| sensitive.sourceMimeType | string | Original Google Drive MIME type before export. |
| sensitive.name | string | Name of the saved exported attachment. |
| sensitive.mimeType | string | MIME type of the saved attachment. |
| sensitive.size | string | Size (bytes). |




