Google Workspace Drive allows duplicate names at all levels of its hierarchy; therefore, to ensure we can distinguish these duplicate names, we use the GWD identifiers.
When creating a new Data Source for the GWD Collector, the path comprises three components Host, Drive Specifier, and Unique ID, and uses the following format:
<Host>/<Drive Specifier>/<Unique ID>/optional:<Subfolder Unique ID>
Path Component | Description | Examples |
---|---|---|
Host | A mechanism for the service to group Data Sources |
GoogleDrive MyMainTenant |
Drive Specifier | Informs the collector as to whether the target is a Shared Drive or a Personal Drive |
Shared Personal |
Unique ID | The unique identifier assigned by Google Drive to the target drive |
0ANPyzi9pu7toUk9PVH sallysmith@mycompany.com |
Subfolder Unique ID | The unique identifier assigned by Google Drive to the target subfolder |
1ii1Euotfst7CfVYxkUJjeoU3g |
Example Paths
Drive | Example Path |
---|---|
Sally Smith's Personal Drive | GoogleDrive/personal/sallysmith@mycompany.com |
A Shared Drive | GoogleDrive/shared/0ANPyzi9pu7toUk9PVH |
The Data Source could have further segments added; these would be the id of the subfolders to the level where you wish to have the data source start.
The Data Source examples below will start at a subfolder of the shared/personal drive with the id 1ii1Euotfst7CfVYxk.
Shared Drive Subfolder | GoogleDrive/shared/0ANPyzi9pu7toUk9PVH/1ii1Euotfst7CfVYxk |
---|---|
Personal Drive Subfolder | GoogleDrive/personal/ sallysmith@mycompany.com/1ii1Euotfst7CfVYxk |
NOTE: Data Sources cannot be started at a point higher than a drive. e.g., GoogleDrive/shared will be invalid.