Write a Google Drive file
connections_storage_write_google_drive_fileWrite text into the connected Google Drive. Without file_id it creates a file named name in parent_id or My Drive, as plain text, markdown or a Google Doc (format google_doc). With file_id it REPLACES all of that text or markdown file, so read it first with read_google_drive_file and send the full new text; a Google Doc cannot be replaced, and a file someone shared with the member is refused. Up to 1,000,000 characters. Returns the file's id and name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new file's name. Required unless file_id is given. | |
| format | No | Default text. google_doc creates a Google Doc. | |
| person | No | Linked person to run this call as (first name). Omit to run as the connection's holder. | |
| content | Yes | The full text to write. | |
| dry_run | No | Preview only. | |
| file_id | No | Optional. The Drive id of an existing text or markdown file whose content is replaced. | |
| project | No | Workspace to run this call in (id or name). | |
| parent_id | No | Optional. The Drive id of the folder to create the file in. |