共用方式為


谷歌雲端硬盤

Google Drive 是 Google 創建的文件存儲和同步服務。 它允許用戶將文件存儲在雲端、共享文件以及與協作者編輯文檔、電子表格和演示文稿。

此連接器適用於以下產品和區域:

服務 Class Regions
副駕駛工作室 標準 除下列區域外的所有 Power Automate 區域
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
邏輯應用程式 標準 所有 Logic Apps 區域, 但下列區域除外:
     - Azure 中國區域
     - 美國國防部 (DoD)
Power Apps 標準 除下列區域外的所有 Power Apps 區域
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
Power Automate(自動化服務) 標準 除下列區域外的所有 Power Automate 區域
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
連絡人​​
名稱 Microsoft
URL Microsoft LogicApps 支援
Microsoft Power Automate 支援
Microsoft Power Apps 支援
連接器中繼資料
Publisher Microsoft
網站 https://www.google.com/drive/
隱私策略 https://policies.google.com/privacy

已知問題與限制

  • 此連接器不再是表格式連接器,因此不能用作表格式資料來源 - 包括 Excel 連接器。

一般限制

名稱 價值觀
工作表列數上限 500000
內容長度上限 (以 MB 為單位) 10
在頻寬時間間隔內傳輸至/從連接器傳輸的 MB 數目上限 (每個連線) 1000
頻寬時間間隔 (以毫秒為單位) 60000

節流限制

名稱 呼叫 續約期間
每個連線的 API 呼叫 100 60 秒

動作

使用 id 取得檔案中繼資料

使用 id 從 Google 雲端硬碟檢索檔案元資料

使用 id 取得檔案內容

使用 id 從 Google 雲端硬碟檢索檔案內容

使用路徑取得檔案中繼資料

使用路徑從 Google 雲端硬碟擷取檔案中繼資料

使用路徑取得檔案內容

使用路徑從 Google 雲端硬碟擷取檔案內容

列出根資料夾中的檔案

列出 Google 雲端硬碟根資料夾中的檔案

列出資料夾中的檔案

列出 Google 雲端硬碟資料夾中的檔案

刪除檔案

從 Google 雲端硬碟刪除檔案

將存檔解壓縮到資料夾

將存檔檔案解壓縮到 Google 雲端硬碟中的資料夾中(例如:.zip)

建立檔案

將檔案上傳至 Google 雲端硬碟

更新檔案

更新 Google 雲端硬碟中的檔案

複製檔案

複製 Google 雲端硬碟上的檔案

使用 id 取得檔案中繼資料

使用 id 從 Google 雲端硬碟檢索檔案元資料

參數

名稱 機碼 必要 類型 Description
檔案
id True string

指定檔案

傳回

Blob 中繼資料

身體
BlobMetadata

使用 id 取得檔案內容

使用 id 從 Google 雲端硬碟檢索檔案內容

參數

名稱 機碼 必要 類型 Description
檔案識別碼
id True string

要在 Google 雲端硬碟中擷取的檔案的唯一識別碼

推斷內容類型
inferContentType boolean

根據擴充功能推斷內容類型

傳回

檔案的內容。

檔案內容
binary

使用路徑取得檔案中繼資料

使用路徑從 Google 雲端硬碟擷取檔案中繼資料

參數

名稱 機碼 必要 類型 Description
檔案路徑
path True string

Google 雲端硬碟中檔案的路徑

傳回

Blob 中繼資料

身體
BlobMetadata

使用路徑取得檔案內容

使用路徑從 Google 雲端硬碟擷取檔案內容

參數

名稱 機碼 必要 類型 Description
檔案路徑
path True string

Google 雲端硬碟中檔案的路徑

推斷內容類型
inferContentType boolean

根據擴充功能推斷內容類型

傳回

檔案的內容。

檔案內容
binary

列出根資料夾中的檔案

列出 Google 雲端硬碟根資料夾中的檔案

傳回

列出資料夾中的檔案

列出 Google 雲端硬碟資料夾中的檔案

參數

名稱 機碼 必要 類型 Description
資料夾識別碼
id True string

指定 Google 雲端硬碟中的資料夾

傳回

刪除檔案

從 Google 雲端硬碟刪除檔案

參數

名稱 機碼 必要 類型 Description
檔案
id True string

指定要刪除的檔案

將存檔解壓縮到資料夾

將存檔檔案解壓縮到 Google 雲端硬碟中的資料夾中(例如:.zip)

參數

名稱 機碼 必要 類型 Description
來源封存檔案路徑
source True string

封存檔案的路徑

目的地資料夾路徑
destination True string

Google 雲端硬碟中提取存檔內容的路徑

覆蓋?
overwrite boolean

如果設定為 'true',則覆寫目的地檔案

傳回

建立檔案

將檔案上傳至 Google 雲端硬碟

參數

名稱 機碼 必要 類型 Description
資料夾路徑
folderPath True string

將檔案上傳至 Google 雲端硬碟的資料夾路徑

檔案名稱
name True string

要在 Google 雲端硬碟中建立的檔案名稱

檔案內容
body True binary

要上傳到 Google 雲端硬碟的檔案內容

傳回

Blob 中繼資料

身體
BlobMetadata

更新檔案

更新 Google 雲端硬碟中的檔案

參數

名稱 機碼 必要 類型 Description
檔案
id True string

指定要更新的檔案

檔案內容
body True binary

要上傳到 Google 雲端硬碟的檔案內容

傳回

Blob 中繼資料

身體
BlobMetadata

複製檔案

複製 Google 雲端硬碟上的檔案

參數

名稱 機碼 必要 類型 Description
來源網址
source True string

來源檔案的網址

目的地檔案路徑
destination True string

Google 雲端硬碟中的目標檔案路徑,包括目標檔案名稱

覆蓋?
overwrite boolean

如果設定為 'true',則覆寫目的地檔案

傳回

Blob 中繼資料

身體
BlobMetadata

定義

Blob中繼資料

Blob 中繼資料

名稱 路徑 類型 Description
Id
Id string

檔案或資料夾的唯一識別碼。

名稱
Name string

檔案或資料夾的名稱。

顯示名稱
DisplayName string

檔案或資料夾的顯示名稱。

路徑
Path string

檔案或資料夾的路徑。

最後修改
LastModified date-time

上次修改檔案或資料夾的日期和時間。

大小
Size integer

檔案或資料夾的大小。

媒體類型
MediaType string

檔案或資料夾的媒體類型。

Is資料夾
IsFolder boolean

布林值 (true、false) ,指出 Blob 是否為資料夾。

Etag
ETag string

檔案或資料夾的 etag。

檔案定位器
FileLocator string

檔案或資料夾的檔案定位器。

最後修改者
LastModifiedBy string

上次修改檔案或資料夾的使用者。

二進位

這是基本資料類型「二進位」。