List Drives
Lists the user's shared drives.
External Documentation
To learn more, visit the Google Drive documentation.
Basic Parameters
Parameter | Description |
---|---|
Query | Query string for searching shared drives. |
Use Domain Admin Access | Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned. |
Advanced Parameters
Parameter | Description |
---|---|
Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.If not specified, the delegated user is the one provided in the connection.Has no effect when using an OAuth connection.NOTE: the connection details are not edited by this input. |
Example Output
{
"drives": [
{
"backgroundImageFile": {
"id": "The ID of an image file in Google Drive to use for the background image.",
"width": 0,
"xCoordinate": 0,
"yCoordinate": 0
},
"backgroundImageLink": "A short-lived link to this shared drive's background image.",
"capabilities": {
"canAddChildren": false,
"canChangeCopyRequiresWriterPermissionRestriction": false,
"canChangeDomainUsersOnlyRestriction": false,
"canChangeDriveBackground": false,
"canChangeDriveMembersOnlyRestriction": false,
"canComment": false,
"canCopy": false,
"canDeleteChildren": false,
"canDeleteDrive": false,
"canDownload": false,
"canEdit": false,
"canListChildren": false,
"canManageMembers": false,
"canReadRevisions": false,
"canRename": false,
"canRenameDrive": false,
"canResetDriveRestrictions": false,
"canShare": false,
"canTrashChildren": false
},
"colorRgb": "The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.",
"createdTime": "The time at which the shared drive was created (RFC 3339 date-time).",
"hidden": false,
"id": "The ID of this shared drive which is also the ID of the top level folder of this shared drive.",
"kind": "drive#drive",
"name": "The name of this shared drive.",
"orgUnitId": "The organizational unit of this shared drive. This field is only populated on drives.list responses when the useDomainAdminAccess parameter is set to true.",
"restrictions": {
"adminManagedRestrictions": false,
"copyRequiresWriterPermission": false,
"domainUsersOnly": false,
"driveMembersOnly": false
},
"themeId": "The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile."
}
],
"kind": "drive#driveList",
"nextPageToken": "The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results."
}
Workflow Library Example
List Drives with Google Drive and Send Results Via Email
Preview this Workflow on desktop