/gsheets/.
For Google OAuth setup, see Google Workspace Setup.
Config
Filesystem Layout
owned (spreadsheets you created) and
shared (spreadsheets shared with you). The filename shape is:
Shared Drives
The listing covers every corpus the account can reach, so a spreadsheet that lives in a Shared Drive appears here too. A Shared Drive spreadsheet has no owner (the drive owns it), so it lands undershared, which is what that
directory means. This matches the gdrive mount, where Shared Drives are
top-level directories: without it the same account would see a spreadsheet
under one Google mount and not the other, with no error explaining the
difference.
Drive answers an all-corpora search best-effort. When it reports that it
skipped a corpus, the short listing is still returned but is not cached as
the directory, so the next ls re-lists instead of serving the gap until
the cache expires.
Cache
The Google Sheets resource usesIndexCacheStore. Index entries
store spreadsheet IDs and metadata. There is no separate content
cache — file content caching is handled by the workspace IOResult
mechanism.
Example
examples/gsheets/gsheets.py for the full working example.
Shell Commands
Standard commands available on the mounted Google Sheets tree:
Acting on spreadsheets (read/write/append ranges, raw API calls)
goes through the gws CLI when installed.