Takaisin Google Drive -kohtaan
Yhdistä Knoon AI kohteen Google Drive (Google) kanssa automatisoidaksesi AI-työnkulut.
Upload an attachment file to Google Drive, optionally inside a specific folder. Maximum supported file size is 100MB.
googleDriveUploadAttachment
BETA
Oikeudet
Valinnaiset oikeudet
Parametrit
| Nimi | Tyyppi | Kuvaus | Pakollinen |
|---|---|---|---|
| parentFolderId | file | Optional. Select a Google Drive folder to upload the file into. If not set, the file will be created in the root of Google Drive. | Ei |
| content | attachment | Attachment file must not exceed 100MB. | Kyllä |
Palautukset
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
| status | string | UPLOADED or ERROR. |
| sensitive.fileId | string | Google Drive file ID of the uploaded file. |
| sensitive.name | string | Name of the uploaded file in Google Drive. |
| sensitive.mimeType | string | MIME type of the uploaded file as stored in Drive. |
| sensitive.size | string | Size of the uploaded 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). |




