Skip to main content

Module files_api

Module files_api 

Source
Expand description

Drive Files API wrapper.

files.list returns full metadata per hit in one call via the fields parameter — unlike Gmail’s messages.list (which needs a follow-up messages.get per hit), so there is no ids-then-enrich split and no --enrich/search_summaries analog (src/gmail/messages_api.rs’s sibling concept has nothing to mirror here).

Structs§

FilesApi
Files API façade.

Constants§

DEFAULT_SEARCH_LIMIT
Default limit for drive search when --limit is omitted. Mirrors crate::gmail::messages_api::DEFAULT_SEARCH_LIMIT.
HARD_CAP
Per-call upper bound on FilesApi::search_all, even when the caller passes limit = 0.
MAX_PAGE_LIMIT
Maximum pageSize accepted by GET /drive/v3/files.