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
readTimeout integerstring
Default
120
The read timeout for the request (in seconds)
scopes array
SubType string
Default
["https://www.googleapis.com/auth/drive"]
The GCP scopes to used
serviceAccount string
The GCP service account key
Outputs
file File
The file metadata uploaded
uri string
Format
uri
The url of the downloaded file on kestra storage
Definitions
io.kestra.plugin.googleworkspace.drive.models.File
createdTime string
Format
date-time
id string
mimeType string
name string
parents array
SubType string