?
getGoogleDriveFile
Download a file from Google Drive and rehost it on the CDN. Returns a public CDN URL.
mindstudio.getGoogleDriveFile({ fileId }) → Result
Download a file from Google Drive and rehost it on the CDN. Returns a public CDN URL.
Parameters
fileId
string
RequiredGoogle Drive file ID
connectionId
string
Google OAuth connection ID
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.getGoogleDriveFile({ fileId: /* ... */ });