Use the following APIs to connect the file manager to Google Drive:
- Specify the ProviderType property as "GoogleDrive".
- Specify the FileManagerGoogleDriveProviderSettings.AccountName property.
- Use the AccountManager.RegisterGoogleDrive method to register the Google Drive account in the global.asax file.
In this demo, the RequestEvent event allows you to trace request to the GoogleDrive Service in an event monitor.