Method: labels.revisions.permissions.list
HTTP リクエスト
GET https://drivelabels.googleapis.com/v2beta/{parent=labels/*/revisions/*}/permissions
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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
詳しくは、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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"]]