External DocumentationTo learn more, visit the Google Drive documentation.
Basic Parameters
Parameter | Description |
---|---|
Drive ID | The ID of the shared drive to list files from. Note: When the drive ID parameter is provided, the following parameters are required: - Include Items From All Drives parameter must be checked- Supports All Drives parameter must be checked- File Grouping (Corpora) parameter must be set to drive |
Query | A query for filtering the file results. See the “Search for Files” guide for supported syntax. |
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. |
Fields | Selector specifying which fields to include in a partial response. |
File Grouping (Corpora) | Groupings of files to which the query applies. Supported groupings are: ‘user’ (files created by, opened by, or shared directly with the user), ‘drive’ (files in the specified shared drive as indicated by the ‘driveId’), ‘domain’ (files shared to the user’s domain), and ‘allDrives’ (A combination of ‘user’ and ‘drive’ for all drives where the user is a member). When able, use ‘user’ or ‘drive’, instead of ‘allDrives’, for efficiency. |
Include Items From All Drives | Whether both My Drive and shared drive items should be included in results. |
Include Labels | A comma-separated list of IDs of labels to include in the labelInfo part of the response. |
Include Permissions For View | Specifies which additional view’s permissions to include in the response. Only ‘published’ is supported. |
Order By | A comma-separated list of sort keys. Valid keys are ‘createdTime’, ‘folder’, ‘modifiedByMeTime’, ‘modifiedTime’, ‘name’, ‘name_natural’, ‘quotaBytesUsed’, ‘recency’, ‘sharedWithMeTime’, ‘starred’, and ‘viewedByMeTime’. Each key sorts ascending by default, but may be reversed with the ‘desc’ modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored. |
Spaces | A list of spaces to query within the grouping. Supported values are ‘drive’ and ‘appDataFolder’. |
Supports All Drives | Whether the requesting application supports both My Drives and shared drives. |