Method: labels.locks.list
Mencantumkan LabelLocks di Label.
Permintaan HTTP
GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*}/locks
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Label tempat Kunci diterapkan. Format: label/{label}
|
Parameter kueri
Parameter |
pageSize |
integer
Jumlah maksimum Kunci yang ditampilkan per halaman. Default: 100. Maks: 200.
|
pageToken |
string
Token halaman yang akan ditampilkan.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance ListLabelLocksResponse
.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
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
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-04 UTC.
[null,null,["Terakhir diperbarui pada 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"]]