Delete
Permanently deletes a file owned by the user without moving it to the trash.
Task version: 1.0.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.GoogleDrive
Task Parameters
FileQuery : String
Query for specific files to be deleted.
See Google Drive API Guide
Default: *
Example: '42o3j8C7kntMJZeElbZb5B_5u92snSIkb' in parents and name contains 'test'
🗝ServiceAccountKeyJSON : String
Service account key JSON.
Default: -
Example: { "type": "service_account", "project_id": "something", "private_key_id": "fdsafdsafdsalmnop12345678909876543212344", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIE.......Hw==\n-----END PRIVATE KEY-----\n", "client_email": "someone@something.iam.gserviceaccount.com", "client_id": "123456789012345678900", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www....nt.com" }
Task Result
Success : Boolean
Gets a value indicating whether process was executed successfully.
Example: true
Data : List<DeleteResult>
List of deleted items.
Example: { {"id", "filename"}, {"id", filename"} }
Task Changelog
Changelog for Task Frends.GoogleDrive.Delete.
[1.0.0] - 2023-12-20
Added
Initial implementation
Last updated
Was this helpful?

