Назад к Google Drive
Подключите Knoon AI к Google Drive (Google), чтобы автоматизировать AI рабочие процессы.
Update the contents of an existing text file in Google Drive. Maximum supported file size is 100MB.
googleDriveUpdateText
Бета
Разрешения
Опциональные разрешения
Параметры
| Имя | Тип | Описание | Обязательно |
|---|---|---|---|
| fileId | file | Select the Google Drive file to update. The file must be text-based and must not exceed 100MB. | Да |
| mimeType | mustache | Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted. | Нет |
| append | boolean | If true, append the content to the end of the file. If false, overwrite the file contents. | Нет |
| content | mustache | 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. | Да |
Возвраты
| Имя | Тип | Описание |
|---|---|---|
| status | string | UPDATED or ERROR. |
| sensitive.fileId | string | Google Drive file ID of the updated file. |
| sensitive.name | string | Name of the updated file in Google Drive. |
| sensitive.mimeType | string | MIME type of the updated file as stored in Drive. |
| sensitive.size | string | Size of the updated file in bytes as a string, or null if unavailable. |
| confidential.webViewLink | string | Link to open the file in Google Drive (if available). |
| confidential.webContentLink | string | Direct download link for the file content (if available). |




