[英]Get a shareable link of a file in our google drive using Colab notebook
[英]Get Google drive shareable link without allowing user to download file
如何使用python獲取Google Doc鏈接(可共享鏈接),而不允許用戶下載?
webViewLink
- 例如使用方法Files:get或Files:list並在字段中指定以檢索webViewLink
樣本:
myLink = service.files().list(fields="files(id, name, webViewLink)").execute()
labels.restricted
字段以編程方式更改它們
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.