Bỏ qua tới nội dung chính
DemoZalo 0862020654

Dịch vụ trực tuyến

Google Drive

Liệt kê, tải lên, tải về hoặc tìm file trên Google Drive

Mã block: google-drive

Bảng cấu hình của khối Google Drive trong trình soạn workflow.
Bảng cấu hình của khối, đúng như trong trình soạn thảo.

Đầu vào

TênKiểuMặc địnhMô tả
disableBlockbooleanfalseTắt khối này
descriptionstring—Mô tả khối
credentialIdstring—ID thông tin đăng nhập Google
actionselectlistThao tác cần thực hiện

Ví dụ: list

listuploaddownloaddeletesearch
folderIdstring—ID thư mục (để trống là thư mục gốc)
fileNamestring—Tên file khi tải lên
fileIdstring—ID file cần tải về/xóa
mimeTypestringtext/plainMIME type khi tải lên
contentstring—Nội dung file khi tải lên
querystring—Câu tìm kiếm (ví dụ: name contains "report")

Đầu ra

  • filesarray

    List of files

  • fileIdstring

    ID of uploaded/deleted file

  • contentstring

    Downloaded file content