Help Desk

Submit a ticket My Tickets

Google Drive BizApp

Premium BizApp

The OneCloud Google Drive BizApp enables OneCloud to interact with Google Drive to perform various tasks such as upload, download, move, search and delete files as well as create and delete folders.

Connection Setup

Creating a Google OAuth 2.0 Client ID

OneCloud connects to Google Drive via the REST API. In order to automate functionality within Google Drive from OneCloud, you’ll need to create an OAuth 2.0 client ID. Please follow these instructions:

  1. Navigate to Google API & Services
  2. If this is your first time in this console, you will need to create a Project. Click “Select a project” in the top left and a modal will appear.
  3. From here, select “New Project” and you’ll be given a simple prompt to choose a name. If you are part of an organization as part of your G-Suite, you should associate this project with your organization so that others will be able to access it.
  4. Provide a Project Name and confirm the Organization and Location are set properly based upon your company.
  5. Select the OAuth consent screen tab. Make sure you set your application to Internal and click Create.
  6. Add "" to the list of authorized domains - no other fields are required. After you've added the domain, make sure to hit Enter.
  7. Click Save
  8. Navigate back to the Credentials tab and click Create credentials.
  9. Select OAuth client ID
  10. Select Web Application and click Create 
  11. Provide a name for the ID
  12. Enter the value of the Authorized JavaScript origins*:
  13. Enter the value of the Authorized redirect URIs:
  14. Click Create to access your OAuth Client ID and Client Secret
  15. View the Client ID and Client Secret

After the Google Client IID is created, simply return to the Google API Services for future access to the Client ID and Client Secret.

Enabling API Access

The final step before you can start using Google Drive in OneCloud is to enable API access. Open the navigation menu on the top left and select “Library” (see screenshot below).

Once you’re in the Library view, there will be a search page. Select “Google Drive” once you’ve searched for it and you should see a button called “Enable” to enable API access. Click this button and you will be ready to start using Google Drive with OneCloud!

Creating a OneCloud Connection 

In order to automate functionality within Google Drive from OneCloud, you’ll need to navigate to the connection manager to create a connection.

From here, choose Google Drive from the service drop-down and select the appropriate Runner. Now, enter values for the following fields and click Connect

RunnerChoose a GroundRunner or CloudRunner
Client IDCopy and Paste the Client ID from the Google API Services
Client SecretCopy and Paste the Client Secret from the Google API services

When you click 'Connect', the following should appear:

Be sure to enable pop-ups, as Google will need to confirm new choices.

Select an account to authenticate against.

If the account authenticates, allow authorization for future usage.

Confirmation of success.

If successful, a similar confirmation will appear inside of the OneCloud connection setup.

Finalize the setup of the OneCloud Connection by enabling the connection in certain Workspaces and Environments.

What's Next?

For documentation on all available commands, see the Google Drive Command Reference.

Brian is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.