Method: labels.revisions.permissions.list
HTTP 요청
GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*/revisions/*}/permissions
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 라벨 권한이 나열된 상위 라벨 리소스 이름입니다. 형식: labels/{label}
|
쿼리 매개변수
매개변수 |
useAdminAccess |
boolean
사용자의 관리자 인증 정보를 사용하려면 true 로 설정합니다. 서버에서는 액세스를 허용하기 전에 사용자가 라벨의 관리자인지 확인합니다.
|
pageSize |
integer
페이지당 반환할 최대 권한 수입니다. 기본값은 50입니다. 최대: 200
|
pageToken |
string
반환할 페이지의 토큰입니다.
|
응답 본문
성공한 경우 응답 본문에 ListLabelPermissionsResponse
의 인스턴스가 포함됩니다.
승인 범위
다음 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-03(UTC)
[null,null,["최종 업데이트: 2024-09-03(UTC)"],[[["This document outlines how to list a Label's permissions using the Drive Labels API."],["The API request uses an HTTP GET method with the specific URL provided, including path and query parameters for customization."],["Authorization is required, and users need one of the specified OAuth scopes to access the API."],["Successful requests return a ListLabelPermissionsResponse containing details about the Label's permissions."],["An empty request body is necessary when making the API call."]]],["This outlines how to list a Label's permissions using an HTTP GET request to `https://drivelabels.googleapis.com/v2beta/{parent}/permissions`. The `parent` path parameter specifies the Label. Query parameters include `useAdminAccess`, `pageSize`, and `pageToken`. The request body must be empty. Successful requests return a `ListLabelPermissionsResponse`. Access requires one of the specified OAuth scopes. The maximum number of permissions to return per page is 200.\n"]]