Method: labels.revisions.locks.list
HTTP 请求
GET https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks
网址采用 gRPC 转码语法。
路径参数
参数 |
parent |
string
必需。已应用锁定的标签。格式:labels/{label}
|
查询参数
参数 |
pageSize |
integer
每页可返回的锁定次数上限。默认值:100。最大值:200。
|
pageToken |
string
要返回的页面的令牌。
|
响应正文
如果成功,则响应正文包含一个 ListLabelLocksResponse
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/drive.labels
https://www.googleapis.com/auth/drive.labels.readonly
https://www.googleapis.com/auth/drive.admin.labels
https://www.googleapis.com/auth/drive.admin.labels.readonly
有关详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-03。
[null,null,["最后更新时间 (UTC):2024-09-03。"],[[["This documentation details how to list LabelLocks applied to a specific Label using the Drive Labels API."],["The API request is a GET request sent to the specified endpoint with required path and optional query parameters."],["The response provides a list of LabelLocks and a token for pagination if there are more results."],["Authorization is required using one of the specified OAuth scopes related to Drive Labels."]]],["This document outlines the process for listing LabelLocks on a Label using a `GET` HTTP request to `https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks`. The `parent` path parameter specifies the target label. Optional query parameters include `pageSize` (default 100, max 200) and `pageToken`. The request body must be empty. A successful response returns a `ListLabelLocksResponse` instance. Authorization requires specific OAuth scopes related to Google Drive labels.\n"]]