Delete Delete

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

Delete a file on a Drive folder.

Examples

yaml
id: googleworkspace_drive_delete
namespace: company.team

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

Properties

fileId

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

The file id to delete

readTimeout

  • Type: integer
  • Dynamic: ✔️
  • Required:
  • Default: 120

The read timeout for the request (in seconds)

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
  • Required:

The file id deleted

Definitions

Was this page helpful?