Configure Google Drive Storage

You have to complete following steps to connect a Google Drive Storage:

Google Drive Configurations

  • In “APIs & Services” menu Enable Google Drive API

  • Go to Credential options and add information in OAuth consent screen

  • Create “OAuth client ID” API credentials

  • Push Create button

GroupDocs Cloud Configuration

  • Open Dashboard
  • Access the Storages page
  • Click on the ‘Create New Storage’ and select Google Drive Storage
  • Enter Storage Name (For example: MyGoogleStorage), Client Id and Client secret from the generated Client Id at Google console
  • Push Generate Refresh Token button and allow access of our API to your Google Drive files
  • Save Storage

Now you can use it by its name in the service API with this account. For example:

https://api.groupdocs.cloud/v2.0/conversion/info?FilePath=testfile.txt&StorageName=MyGoogleStorage