Delete a file from a Google Drive folder.

yaml
type: "io.kestra.plugin.googleworkspace.drive.Delete"
yaml
id: googleworkspace_drive_delete
namespace: company.team

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

The file id to delete

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 id deleted