
Google Workspace Delete
CertifiedDelete a Drive file by ID
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.DeleteExamples
yaml
id: googleworkspace_drive_delete
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.googleworkspace.drive.Delete
fileId: "1Dkd3W0OQo-wxz1rrORLP7YGSj6EBLEg74fiTdbJUIQE"
Properties
fileId string
File ID
ID of the file to delete; enable supportsAllDrives is handled automatically
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
readTimeout integerstring
Default
120The read timeout for the request (in seconds)
scopes array
SubTypestring
Default
["https://www.googleapis.com/auth/drive"]The GCP scopes to used
serviceAccount string
The GCP service account key
Outputs
fileId string
Deleted file ID