
Download
Download
Download a file from a Google Drive folder.
yaml
type: "io.kestra.plugin.googleworkspace.drive.Download"Examples
yaml
id: googleworkspace_drive_download
namespace: company.team
tasks:
- id: download
type: io.kestra.plugin.googleworkspace.drive.Download
fileId: "1Dkd3W0OQo-wxz1rrORLP7YGSj6EBLEg74fiTdbJUIQE"
Properties
fileId*Requiredstring
The file id to copy
readTimeoutintegerstring
Default
120The read timeout for the request (in seconds)
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/drive"]The GCP scopes to used
serviceAccountstring
The GCP service account key
Outputs
file
The file metadata uploaded
Definitions
io.kestra.plugin.googleworkspace.drive.models.File
createdTimestring
Format
date-timeidstring
mimeTypestring
namestring
parentsarray
SubTypestring
sizeinteger
trashedboolean
versioninteger
uristring
Format
uriThe URL of the downloaded file on Kestra storage
Metrics
sizecounter
Unit
countNumber of files returned by the list query