Export Export

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

Export a file in a Drive folder.

Examples

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

Properties

contentType

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

The content-type of the file.

a valid RFC2045 like text/csv, application/msword, ...

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: