Quay lại Google Drive

Kết nối Knoon AI với Google Drive (Google) để tự động hóa các quy trình làm việc AI.

Update the contents of an existing text file in Google Drive. Maximum supported file size is 100MB.
googleDriveUpdateText
BẢN THỬ NGHIỆM
Quyền hạn
  • https://www.googleapis.com/auth/drive.file
Quyền hạn tùy chọn
  • https://www.googleapis.com/auth/drive
Tham số
TênLoạiMô tảBắt buộc
fileIdfile Select the Google Drive file to update. The file must be text-based and must not exceed 100MB.
mimeTypemustache Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted.Không
appendboolean If true, append the content to the end of the file. If false, overwrite the file contents.Không
contentmustache Plain text content to write to the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB.
Trả về
TênLoạiMô tả
statusstring UPDATED or ERROR.
sensitive.fileIdstring Google Drive file ID of the updated file.
sensitive.namestring Name of the updated file in Google Drive.
sensitive.mimeTypestring MIME type of the updated file as stored in Drive.
sensitive.sizestring Size of the updated file in bytes as a string, or null if unavailable.
confidential.webViewLinkstring Link to open the file in Google Drive (if available).
confidential.webContentLinkstring Direct download link for the file content (if available).