Expand description
Drive REST API client.
Thin reqwest wrapper that attaches a Bearer access token (refreshed by
an owned DriveSession) to every request, retries HTTP 429 via the
shared retry_429 driver, and retries
exactly once on HTTP 401 by forcing a session refresh. Modelled on
crate::datadog::client::DatadogClient (and crate::gmail::client::GmailClient,
its closest sibling); the difference is Bearer-token auth with in-process
refresh instead of two static API keys.
Structsยง
- Drive
Client - HTTP client for the Drive v3 REST API.