简体   繁体   中英

Overwriting existing Google spreadsheet via API (C#)

I would like to overwrite an existing and shared Google spreadsheet X with an other existing Google spreadsheet Y via Drive API v3 or Scripts API from C#. Both are on my own GDrive. Since X is already shared with others, I would like to overwrite spreadsheet X by keeping its URL (and ID).

What I tried: copying sheet-by-sheet is not enough because there is a GAS script behind the spreadsheet and other metadata which is not merged by sheet-by-sheet copy. I need complete overwrite.

Thanks.

It's not possible to do a "complete overwrite" in the same sense that it could be done in several file systems.

In example, revision history and activity tracking can not be removed.

For further details see

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM