Skip to main content

Module docs

Module docs 

Source
Expand description

P4a — Google Docs API operations over the google_docs1 hub.

Three calls back the push flow: create a blank doc, read its end index, and apply a batch of Requests (built by crate::project). Every read/write uses the first/legacy tab representation (include_tabs_content(false), DI-6); a document exposing multiple tabs is reported as Error::MultipleTabs rather than silently mis-indexed.

Hub errors are mapped to the crate’s typed Error at the F6 seam ([crate::google::client::map_api_error]); nothing here panics (EI-2).

Structs§

DocumentRef
A reference to a Google Doc: its id and human-openable URL.

Functions§

delete_body_request
Build a request that clears the existing document body for full-replace (DI-9).