Google Workspace Delete

Google Workspace Delete

Certified

Delete a Drive file by ID

Permanently removes a file (or folder) using a service account; supports Shared Drives

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

File ID

ID of the file to delete; enable supportsAllDrives is handled automatically

Reference (ref) of the pluginDefaults to apply to this task.

Default120

The read timeout for the request (in seconds)

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

The GCP scopes to used

The GCP service account key

Deleted file ID