Method: labels.locks.list
HTTP 要求
GET https://drivelabels.googleapis.com/v2/{parent=labels/*}/locks
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。套用鎖頭的標籤。格式:label/{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
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-04 (世界標準時間)。
[null,null,["上次更新時間:2024-09-04 (世界標準時間)。"],[[["This endpoint lists the LabelLocks applied to a specific Label using an HTTP GET request."],["The request requires specifying the parent Label in the path and accepts optional pagination parameters."],["The response provides a list of LabelLocks and a token for retrieving subsequent pages, if available."],["Proper authorization with specific OAuth scopes is necessary to access this functionality."]]],["This document outlines the process for listing LabelLocks on a specific label using a `GET` request to the provided URL, which follows gRPC Transcoding syntax. The request requires a `parent` path parameter specifying the label. Optional query parameters include `pageSize` (default 100, max 200) and `pageToken`. The request body must be empty. A successful response will return a `ListLabelLocksResponse`. Access requires one of four listed OAuth scopes.\n"]]