Folder
Folder
¶
Bases: DriveObject
Base class for a Google Drive Folder
Source code in pygsuite/drive/folder.py
get_files(extra_conditions=None, support_all_drives=True)
¶
The files in a given folder. If no folder ID is given in the instance, a recursive search is performed from the Drive root.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
extra_conditions |
Union[QueryString, QueryStringGroup]
|
Any additional queries to pass to the files search. |
None
|
support_all_drives |
bool
|
Whether the requesting application supports both My Drives and shared drives. |
True
|
Returns a list of any Files found.