Export a Google Workspace document into a downloadable file format, then download the file.

Possible Google Workspace documents to export include Google Docs, Sheets, and Slides, and they can be exported as Word, Excel, Powerpoint files, and more.

yaml
type: "io.kestra.plugin.googleworkspace.drive.Export"
yaml
id: googleworkspace_drive_export
namespace: company.team

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

The content-type of the file

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

The file id to copy

Default 120

The read timeout for the request (in seconds)

SubType string
Default ["https://www.googleapis.com/auth/drive"]

The GCP scopes to used

The GCP service account key

The file metadata uploaded

Format uri

The url of the downloaded file on kestra storage

Format date-time
SubType string