...
Creating connection | User Interface
Select Connections > Add connection.
Select Google Drive as the platform on the Add connection modal.
Enter the connection information. Reference the table below for details about each field.
Select Sign in with Google Drive.
On the Sign in with Google modal, enter the Email Address for the account you are using for the connection and click Next.
Enter the Password required to log in to the Google Drive account and select Next.
Select Allow when prompted to allow DryvIQ to access your account.
You will see a "Connection test succeeded" message on the Add connection modal. (If you don't see this message, repeat the sign in and authorization steps above.)
Select Done to finish creating the connection.
Add Connection Modal - Google Drive
...
Field | Description | Required |
---|---|---|
Display as | Enter the display name for the connection. If you will be creating multiple connections, ensure the name readily identifies the connection. The name displays in the application, and you can use it to search for the connection and filter lists. The maximum length is 255 characters. f you do not add a display name, the connection will automatically be named using the account owner's name. For example, Google Drive (John Doe). If it will be useful for you to reference the connection by account, you should use the default name. | Optional |
Platform API Credentials | Required | |
Use the system default client credentials | Select this option to create a standard connection to access a user's files and folders. This is the default selection. | |
Use custom client credentials | Select this option to create an administrator connection. If you choose to use your own application credentials, two additional options will be displayed. Please visit the Google Developer's documentation for more information. | |
Client ID | This field displays only when you select Use custom client credentials. This value will be provided by your Google Drive administrator. It's the Identifier of the third-party application as defined by OAuth 2.0. To learn more, click here. | Optional |
Client Secret | This field displays only when you select Use custom client credentials. This value will be provided by your Google Drive administrator. This is the client secret (password) of the third-party application as defined by OAuth 2.0. This is used with an application key to authenticate a third-party application. To learn more, click here. | Optional |
Google Sign in
...
Grant Access to Google Drive
...
Connection Test Succeeded
...
Features and Limitations
...
Although Box supports Google Docs, G Suite Google Workspace does not support exporting Google Docs in their native format. Consequently, you cannot transfer Google Docs from G Suite Google Workspace to Box without the files being converted to the Microsoft equivalent during the transfer process. However, a Google Doc created in Box can be transferred to G Suite Google Workspace and retain its original format. DryvIQ exports Google native docs in the following formats:
Google Docs convert to docx files
Google Slides convert to pptx
Google Sheets convert to xlsx
Google Drawings converts to svg
Google Apps Script converts to json
Non-transferable Items
Sites, Forms, Fusion Tables, My Maps and G Suite Google Workspace Marketplace are Google proprietary formats and are not available for downloadin G SuiteGoogle Workspace/Google Drive. This means DryvIQ is prevented from transferring these items. Expected behavior is the item will be flagged with the error message "IO Violation and message: Downloading content is not supported for file: /"
...
Soft delete is the default delete policy. This means deleted items are moved to the trash on the platform. The code below shows how to set the delete policy to "permanent" while creating a new connection that uses the using a REST API call.
Send the The GET request below.
Code Block GET {{url}}v1/connections/platforms/google-drive/new
The GET request returns JSON with the OAuth2 target URL needed to finish the connection creation.
Copy and past the URL generated in your browser and add the following at the end of it: %26delete_behavior%3Dpermanent.
Follow the given URL to finish creating the connection.
Create connection | CLI
The CLI command below returns the OAuth2 target URL needed to finish the connection creation. In most environments the URL will be automatically opened in your default browser to complete the creation process. If not follow the given URL to finish creating the connection.
...