0

Im trying to access the following docs using java:

  1. doc is only accessible from people within the domain that have the link
  2. doc is only accessible from people outside the domain that have the link

These are all sharable settings within google docs but i cant seen to figure out the api call to retrieve them. Thank you for your time.

4

1 回答 1

0

为此,您需要访问Documents List API,具体来说,您需要接收相关资源的 ACL,并检查<gAcl:scope>元素的<entry>元素是否存在相关资源type='domain'

要在 Java 中执行此操作,您可以使用Google API Java 客户端库。有关如何向 Documents List API 发出请求的示例,请参阅此示例。

于 2011-02-17T03:46:09.133 回答