Method: labels.locks.list
HTTP 요청
GET https://drivelabels.googleapis.com/v2/{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 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"]]