Google Drive
The Globus Connect Server Google Drive Connector provides access to Google Drive storage via Globus Connect Server.
This document describes the data types and API routes provided by this connector.
Google Drive Connector Virtual Filesystem
Google Drive presents its data as a hierarchical list of files owned by folders, but has different semantics than a POSIX filesystem, such as associating the file name with the data rather than the directory entry, allowing multiple drives, allowing multiple objects with the same name in the same folder, and attributes to allow files owned by others to become visible in another user’s file space.
The Google Drive Connector provides these subdirectories of the root directory of a Google Drive Connector storage gateway:
- /My Drive
-
Files owned by the user’s Google account that are located in the user’s root directory. This is treated the user’s home directory on collections created using the Google Drive Connector.
- /Shared With Me
-
Files and directories owned by others which have been shared with the user’s Google account.
- /Starred
-
Files and directories to which the user’s Google account has added the starred attribute.
- /Team Drives
-
Directories which are Google Shared Drives (formerly called Team Drives) which the user’s Google account has been granted access to.
- /Trash
-
Files and directories which the user’s Google account has deleted.
Google Drive Connector Storage Gateway Policies
The Google Drive Connector has policies to manage application credentials, and set the user api rate quota.
Application Credentials
The client_id and secret properties provide information for {gcs} to authenticate with Google Drive Connector. These values must be configured in order to be able to access data on collections created with the Google Drive Connector type.
These are configured by setting up the application project as described in the Google Drive Connector configuration guide.
User API Quota
The user_api_rate_quota property allows you to configure a value for the User API Quota in order to try to avoid issues when interacting with the Google Drive API. This can be helpful to increase the quota if you have negotiated a larger API quota on your Google Drive API project or to decrease the value if you are experiencing frequent API quota errors when performing transfers. The value of the setting is a number of API operations per 100 seconds per user.