GoogleDriveProviderOptions
Defined in: src/providers/cloud/GoogleDriveProvider.ts:59
Options accepted by createGoogleDriveProviderFactory.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
apiBaseUrl? | string | Override 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? | HttpFetch | Custom fetch implementation. Defaults to global fetch. | src/providers/cloud/GoogleDriveProvider.ts:73 |
id? | ProviderId | Provider id to register. Defaults to "google-drive". | src/providers/cloud/GoogleDriveProvider.ts:61 |
rootFolderId? | string | Folder 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? | string | Override the upload base URL. Defaults to https://www.googleapis.com/upload/drive/v3. | src/providers/cloud/GoogleDriveProvider.ts:65 |