Download a file from a Google Drive folder.

yaml
type: "io.kestra.plugin.googleworkspace.drive.Download"
yaml
id: googleworkspace_drive_download
namespace: company.team

tasks:
  - id: download
    type: io.kestra.plugin.googleworkspace.drive.Download
    fileId: "1Dkd3W0OQo-wxz1rrORLP7YGSj6EBLEg74fiTdbJUIQE"
Properties

The file id to copy

Default120

The read timeout for the request (in seconds)

SubTypestring
Default["https://www.googleapis.com/auth/drive"]

The GCP scopes to used

The GCP service account key

The file metadata uploaded

Definitions
createdTimestring
Formatdate-time
idstring
mimeTypestring
namestring
parentsarray
SubTypestring
sizeinteger
trashedboolean
versioninteger
Formaturi

The URL of the downloaded file on Kestra storage

Unitcount

Number of files returned by the list query