Google 云端硬盘自定义文件属性限制

发布于 2025-01-16 02:52:20 字数 385 浏览 0 评论 0原文

有人请解释下面描述的“所有来源总计”的含义吗 https://developers.google.com/drive/api/guides/properties

每个文件最多 100 个自定义属性,来自所有来源的总计。
每个文件最多 30 个公共属性,来自所有源的总计。
任何一个应用程序的每个文件最多有 30 个私有属性。

我的目的是在驱动器文件中存储超过 30 个属性,并且能够与所有共享用户进行搜索。 是否可以使用驱动器属性 api 来做到这一点?

Is someone please explain the meaning of "totaled from all sources" which described at below
https://developers.google.com/drive/api/guides/properties

Maximum of 100 custom properties per file, totaled from all sources.
Maximum of 30 public properties per file, totaled from all sources.
Maximum of 30 private properties per file from any one application.

My intention is to store over 30 properties at drive file and can be able to search with all shared user.
Is it possible to do it with drive properties api?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓝天 2025-01-23 02:52:20

所有来源总计 指已添加到文件中的任何属性,无论使用哪个应用程序。

也就是说,一个文件最多可以有:

  • 30 个公共属性(即对所有应用程序可见)(字段 properties)。
  • 每个应用程序 30 个私有属性(字段 appProperties)。
  • 总共100处房产(包括公共和私人房产)。

也就是说,您可以拥有30 个公共属性,加上每个应用30 个appProperties总上限100 。

当达到这些限制时,API 将返回以下错误消息:

已达到文件属性和应用程序属性限制。文件最多可以有 30 个属性,每个应用程序最多可以有 30 个应用程序属性,总共最多 100 个。

参考:

totaled from all sources refers to any property that has been added to the file, irrespective of which app was used for this.

That is, a file can have up to:

  • 30 public properties (that is, visible to all apps) (field properties).
  • 30 private properties per app (field appProperties).
  • 100 properties in total (counting public and private properties).

That is, you can have 30 public properties plus 30 appProperties per app, with a total maximum of 100.

When those limits are reached, the API returns the following error message:

The file's property and app property limit has been reached. Files can have up to 30 properties and 30 app properties per app, with a maximum of 100 in total.

Reference:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文