Skip to content

basalt / drives-google/src / googleDrive

Function: googleDrive() ​

> googleDrive(options): GoogleDrive

Defined in: drives-google/src/index.ts:964

Builds the Google Drive adapter.

ts
drivesPlugin({
  providers: [googleDrive({ clientId: env.GOOGLE_CLIENT_ID, clientSecret: env.GOOGLE_CLIENT_SECRET })],
  keys: [{ id: '2026-09', key: env.DRIVES_ENCRYPTION_KEY }],
  secret: env.APP_SECRET,
})

Parameters ​

options ​

GoogleDriveOptions

Returns ​

GoogleDrive

Released under the MIT License.