Google Drive

Tip:  GOOGLE DRIVE FOLDER IDS
Google Drive folders usually display the ID in the url while looking at them in the browser. The root folder ("My Drive") does not show its ID, however. In order to retrieve it, you will need to create a Content Service Connection and use it to retrieve the id using the following url in your browser. If the root folder id it set on the content service connection, that folder's information will be returned. If blank, the My Drive folder's information will be returned.
3sixty-admin/api/repo/{googleConnectorId}/rootfolderid


Authentication Connection

There are currently two ways to connect to Google Drive. OAuth and Java Web Token. Both require creating a project and enabling the Google Drive API for that project.


Discovery Connector

  • Authentication Connection: The Google Drive authentication connection you want to use.

  • Folder ID: The ID of the folder you wish to crawl.

  • Shared Drive ID: If this is a shared drive, put the ID here.


Integration Connection

This is used to store and write content alongside its metadata to Google Drive.

  • Connection Name: This is a unique name given to the connector instance upon creation.

  • Description: A description of the connector to help identify it better.

  • Authentication Connection: Your Google Drive Auth Connection


Job Configuration

Run and Monitor Jobs

When you run a job with Google Drive as the source repository:

These content types will be transferred as is: google docs, slide, spreadsheet, drawing

These content types will be skipped and not transferred: google form, google map

These content types will be converted to the corresponding types and will not be supported by getVersions:

  • google jamboard - pdf

  • google script - json

  • google site - txt


Content Services Connector

Content Service Configuration

  • Connector ID: Give your connector a unique name

  • Description: Provide a description for this connection

  • Type: Select the Filesystem Content Service Connector

  • Keep Connection Alive: Keep this connection active

  • Keep alive in Milliseconds (300000 is 5 minutes): How long until connection expires if unused

  • Connection URL: The web address for your connection

  • Security Mode: None needed for this connection

  • Mapping Type: Choose single map or group mapping if you are using mapping for jobs

  • Root Folder ID: The root folder you wish to use for uploads using the connection

Supported Methods

  • checkIn

  • checkOut

  • createFile

  • createFolder

  • createVersion

  • deleteACL

  • deleteFolder

  • deleteObjectByID

  • deleteVersion

  • getACLs

  • getFileContent

  • getObjectProperties

  • getTypes

  • getVersionContent

  • getVersionProperties

  • listFolderItems

  • listVersions

  • lockDocument

  • revertVersion

  • setACLs

  • unlockDocument

  • updateFile

  • updateProperties


API Keys

Google Drive Connector: Read=true: Write=true: MIP=false

Repo (Read) Specs

Key

Description

Data Type

gdQuery Query String

crawlQueriedFolders

If the query returns folders, crawl them

Boolean

gdRootFolders

Folder / File Id's (Comma Delimited)

String

isSharedDrive

This is a Shared Drive

Boolean

sharedDrive

The id of the shared drive. Can be found in the URL at the root of the drive

String

gdProcessFolders

Process Folders

Boolean

getVersions

Get Versions

Boolean

getPermissions

Get Permissions

Boolean

Output (Write) Specs

Key

Description

Data Type

outputfolderId Output Folder Id String

includedUnMapped

Include Un-Mapped Properties

Boolean

isSharedDrive

This is a Shared Drive

Boolean

sharedDrive

The id of the shared drive. Can be found in the URL at the root of the drive

String

noPropsOnUpdate

Do not update property values if file already exists.

Boolean

addPerms

Process permissions

Boolean

notifyUsers

Notify users via email when they are added to a file

Boolean


Need help integrating with Google Drive? We can help!