Drive Labels API 的最新版本为 v2。除非您需要仅在 v2beta 中提供的功能,否则请使用当前版本。如需查看版本差异的完整列表,请参阅下方的对比图。
v2beta 和 v2 之间的方法差异
下表显示了 v2 中提供的 v2beta 方法。
v2beta 方法 | v2 方法 |
---|---|
labels.create |
labels.create |
labels.delete |
labels.delete |
labels.delta |
labels.delta |
labels.disable |
labels.disable |
labels.enable |
labels.enable |
labels.get |
labels.get |
labels.list |
labels.list |
labels.publish |
labels.publish |
labels.updateLabelCopyMode |
labels.updateLabelCopyMode |
labels.updatePermissions |
labels.updatePermissions |
labels.locks.list |
labels.locks.list |
labels.permissions.batchDelete |
labels.permissions.batchDelete |
labels.permissions.batchUpdate |
labels.permissions.batchUpdate |
labels.permissions.create |
labels.permissions.create |
labels.permissions.delete |
labels.permissions.delete |
labels.permissions.list |
labels.permissions.list |
labels.revisions.updatePermissions |
labels.revisions.updatePermissions |
labels.revisions.locks.list |
labels.revisions.locks.list |
labels.revisions.permissions.batchDelete |
labels.revisions.permissions.batchDelete |
labels.revisions.permissions.batchUpdate |
labels.revisions.permissions.batchUpdate |
labels.revisions.permissions.create |
labels.revisions.permissions.create |
labels.revisions.permissions.delete |
labels.revisions.permissions.delete |
labels.revisions.permissions.list |
labels.revisions.permissions.list |
limits.getLabel |
limits.getLabel |
users.getCapabilities |
users.getCapabilities |