2024-10-02 02:41:43 发布
网友
是否有一个选项可以通过python API禁用文件下载选项。我在API URL下寻找了不同的选项,但没有找到任何选项。在
https://developers.google.com/drive/api/v2/reference/permissions/list
但是googledrivewebui可以选择禁用文件下载。在
这与其他权限不同,因为它平等地应用于所有用户。相反,此复选框对应于所讨论的File object的labels.restricted字段:
labels.restricted
labels.restrictedboolean Whether viewers and commenters are prevented from downloading, printing, and copying this file.
boolean
这与其他权限不同,因为它平等地应用于所有用户。相反,此复选框对应于所讨论的File object的
labels.restricted
字段:相关问题 更多 >
编程相关推荐