Google Drive
Connect your Google Drive system to Aiimi Insight Engine to make the most of the data.
Public and Private Google Drives must be configured separately.
Prerequisites
Your Google Cloud environment must be configured to allow the connector access to various APIs, services and scopes. Before running the Google Drive Connector these 5 things must be in place.
Connecting Google Drive with Aiimi Insight Engine
The GoogleDirectory security must be configured before. See our guide on Configuring the Google Directory Security.
Source System: Select Google Drive Public or Google Drive Personal from the dropdown.
Connection
Select Credential: Select the credential with the service account details for your Google Drive project.
Delegated User: Enter the username of the Service Account user used for domain level operations.
Security Synchronisation
Security Configuration: Select the security configuration the crawler will use to synchronise Google Directory and Aiimi Insight Engine users.
Drives
Indexing
Calculate Last Accessed Date for Deltas: Check this to update the last known accessed dates during a delta crawl.
There are additional service account and API requirements for this. See the service account and entity mapping prerequisites sections above for more details
This date is only kept by Google for 180 days. We revert to the last modified date if this date is empty.
Enabling this will impact performance.
Crawlable Drives List: Add all the Google Drives that will be crawled.
Add usernames for personal drives. For example user@domain.com.
Add the drive IDs for public drives.
Uncrawlable Drives List: Add the Google Drives that will not be crawled.
Add usernames for personal drives. For example user@domain.com.
Add the drive IDs for public drives.
Deleting
Delete Orphaned Drives: Check this to remove any orphaned Google Drives from Aiimi Insight Engine.
Mappings
When mappings are in place and a crawl is run, files will be indexed with relevant Google Drive Labels mapped as Entities.
Add new item - Select this to add a new entity mapping between Aiimi Insight Engine and Google Drive.
Left column - Enter the Aiimi Insight Engine entity name. e.g. entities.project.code
This is case-sensitive.
Right column - Enter the Google Drive label and field name. e.g. MyDriveLabel.MyDriveLabelField
This is case-sensitive and must match Google Drive exactly.
Labels and fields must be unique in their naming convention, with no duplicate names.
Alternative Name For Empty Fields - Enter the value shown when a file has a label but no related field selected.
If left blank, the label name will be used.
Advanced
Parallelism
Parallel Drive Crawling: Enter the maximum number of drives that should be crawled at once.
Parallel Folder Crawling: Enter the maximum number of folders, from one drive, that should be crawled at once.
Parallel Folder Query: Enter the number of Elastic queries, from one drive, that should be crawled at once. This can impact the Elastic performance.
Parallel Drive Deletion: Enter the number of folders that can be deleted at once. This can impact the Elastic performance.
Frequency
Results Per Page: Choose how many files and folders can be retrieved in one call.
This is defaulted to 100 but must be between 100 and 1000.
Increasing this can impact performance. A higher number means fewer calls but requires more memory.