Method: labels.locks.list
Bir Etiketteki LabelLocks'u listeler.
HTTP isteği
GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*}/locks
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Kilitlerin uygulandığı etiket. Biçim: labels/{label}
|
Sorgu parametreleri
Parametreler |
pageSize |
integer
Sayfa başına döndürülecek maksimum Kilit sayısı. Varsayılan: 100. Maks.: 200.
|
pageToken |
string
Döndürülecek sayfanın jetonu.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, ListLabelLocksResponse
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
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
Daha fazla bilgi için Yetkilendirme kılavuzu'na bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-04 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-04 UTC."],[[["This endpoint allows you to retrieve a list of LabelLocks applied to a specific Label using an HTTP GET request."],["You need to specify the parent Label in the path parameter using the format `labels/{label}`."],["Optional query parameters `pageSize` and `pageToken` can be used for pagination to control the number of results and navigate through pages."],["Authorization is required with specific OAuth scopes related to Drive Labels, such as `https://www.googleapis.com/auth/drive.labels` or `https://www.googleapis.com/auth/drive.admin.labels`."],["A successful response will provide a `ListLabelLocksResponse` object containing the LabelLocks information."]]],["This document outlines the process for listing LabelLocks on a Label using a `GET` HTTP request to `https://drivelabels.googleapis.com/v2beta/{parent=labels/*}/locks`. The request requires a `parent` path parameter specifying the label. Optional query parameters include `pageSize` (default 100, max 200) and `pageToken` for pagination. The request body must be empty. The response body returns a `ListLabelLocksResponse` and requires specific authorization scopes.\n"]]