Download Download

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

Download a file in a Drive folder.

# Examples

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

# Properties

# fileId

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

The file id to copy

# 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

The url of the downloaded file on kestra storage

# Definitions

# File

# createdTime

  • Type: string
  • Dynamic:
  • Required:

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