Method: labels.locks.list
HTTP 요청
GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*}/locks
URL은 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
자세한 내용은 승인 가이드를 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-04(UTC)
[null,null,["최종 업데이트: 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"]]