🚀 New! Kestra raises $3 million to grow Learn more

Delete Delete

yaml
type: "io.kestra.plugin.googleworkspace.drive.Delete"

Delete a file on a Drive folder.

Examples

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

Properties

fileId

  • Type: string
  • Dynamic: ✔️
  • Required:

The file id to delete

scopes

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:
  • Default: [https://www.googleapis.com/auth/drive]

The GCP scopes to used

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key

Outputs

fileId

  • Type: string
  • Dynamic:
  • Required:

The file id deleted