List file on a Drive folder.
yaml
type: "io.kestra.plugin.googleworkspace.drive.List"
List subfolder in a Drive folder
yaml
id: googleworkspace_drive_list
namespace: company.team
tasks:
- id: list
type: io.kestra.plugin.googleworkspace.drive.List
query: |
mimeType = 'application/vnd.google-apps.folder'
and '1z2GZgLEX12BN9zbVE6TodrCHyTRMj_ka' in parents
SubType string
Dynamic YES
Possible Values
userdomainteamDriveallTeamDrives
list of bodies of items (files/documents) to which the query applies.
'allTeamDrives' must be combined with 'user'; all other values must be used in isolation. Prefer 'user' or 'teamDrive' to 'allTeamDrives' for efficiency.
Dynamic YES
Query operators to filter results
see details here if not defined, will list all files that the service account have access
Dynamic YES
Default 120
SubType string
Dynamic YES
Default ["https://www.googleapis.com/auth/drive"]
The GCP scopes to used
Dynamic YES
The GCP service account key
Dynamic NO
Format date-time
Dynamic NO
Dynamic NO
Dynamic NO
SubType string
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO