Skip to content

GoogleDriveProviderOptions

Defined in: src/providers/cloud/GoogleDriveProvider.ts:59

Options accepted by createGoogleDriveProviderFactory.

PropertyTypeDescriptionDefined in
apiBaseUrl?stringOverride the API base URL. Defaults to https://www.googleapis.com/drive/v3.src/providers/cloud/GoogleDriveProvider.ts:63
defaultHeaders?Record<string, string>Default headers applied to every request before bearer auth.src/providers/cloud/GoogleDriveProvider.ts:75
fetch?HttpFetchCustom fetch implementation. Defaults to global fetch.src/providers/cloud/GoogleDriveProvider.ts:73
id?ProviderIdProvider id to register. Defaults to "google-drive".src/providers/cloud/GoogleDriveProvider.ts:61
rootFolderId?stringFolder id used as the root for path resolution. Defaults to "root" (the authenticated user’s My Drive root). Pass a folder id when the SDK should scope to a shared drive subtree.src/providers/cloud/GoogleDriveProvider.ts:71
uploadBaseUrl?stringOverride the upload base URL. Defaults to https://www.googleapis.com/upload/drive/v3.src/providers/cloud/GoogleDriveProvider.ts:65