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

Download a file in a Drive folder.

Examples

yaml
id: googleworkspace_drive_download
namespace: company.team

tasks:
  - 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

  • Type: File
  • Required:

uri

  • Type: string
  • Required:
  • Format: uri

Definitions

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

  • 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: