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"
Dynamic
YESThe file id to delete
Dynamic
NO Default
120The read timeout for the request (in seconds)
SubType string
Dynamic
YES Default
["https://www.googleapis.com/auth/drive"]The GCP scopes to used
Dynamic
YESThe GCP service account key
The file id deleted