Export Export

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

Export a file in a Drive folder.

Examples

yaml
id: googleworkspace_drive_export
namespace: company.team

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

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:

The file metadata uploaded

uri

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

Was this page helpful?