Delete Delete

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

Delete a file on a Drive folder.

# Examples

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

The file id deleted