Download Download

yaml
type: "io.kestra.plugin.googleworkspace.drive.Download"

Download a file in a Drive folder.

Examples

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

Properties

fileId

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The file id to copy

readTimeout

  • Type: integer
  • Dynamic: ✔️
  • Required:
  • Default: 120

The read timeout for the request (in seconds)

scopes

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:
  • Default: [https://www.googleapis.com/auth/drive]

The GCP scopes to used

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key

Outputs

file

The file metadata uploaded

uri

  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

The url of the downloaded file on kestra storage

Definitions

io.kestra.plugin.googleworkspace.drive.models.File

Properties

createdTime
  • Type: string
  • Dynamic:
  • Required:
  • Format: date-time
id
  • Type: string
  • Dynamic:
  • Required:
mimeType
  • Type: string
  • Dynamic:
  • Required:
name
  • Type: string
  • Dynamic:
  • Required:
parents
  • Type: array
  • SubType: string
  • Dynamic:
  • Required:
size
  • Type: integer
  • Dynamic:
  • Required:
trashed
  • Type: boolean
  • Dynamic:
  • Required:
version
  • Type: integer
  • Dynamic:
  • Required: