如何检查是否在Google Drive API中删除了文件夹? [英] How to check if a folder is deleted in Google Drive API?

查看:83
本文介绍了如何检查是否在Google Drive API中删除了文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过对Google云端硬盘进行API调用来检查是否删除了特定文件夹/文件的一种方法吗?

is their a way to check by making an API call to google Drive that if a particular folder/file is Deleted?

推荐答案

使用文件.get()并查看labels.trashed属性.

这篇关于如何检查是否在Google Drive API中删除了文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆