TrashResource Method
Moves the specified file or folder to the trash.
Object Oriented Interface
public function doTrashResource($resourceid);
Procedural Interface
ipworkscloud_googledrive_do_trashresource($res, $resourceid);
Remarks
This method moves the file or folder specified by ResourceId to the trash. The resource may be restored from the trash by calling RestoreResource.
To permanently delete a resource, call DeleteResource. To empty the trash (thus permanently deleting all trashed items), call EmptyTrash.