Method: labels.revisions.locks.list
HTTP リクエスト
GET https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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
詳しくは、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-03 UTC。
[null,null,["最終更新日 2024-09-03 UTC。"],[[["This documentation details how to list LabelLocks applied to a specific Label using the Drive Labels API."],["The API request is a GET request sent to the specified endpoint with required path and optional query parameters."],["The response provides a list of LabelLocks and a token for pagination if there are more results."],["Authorization is required using one of the specified OAuth scopes related to Drive Labels."]]],["This document outlines the process for listing LabelLocks on a Label using a `GET` HTTP request to `https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks`. The `parent` path parameter specifies the target label. Optional query parameters include `pageSize` (default 100, max 200) and `pageToken`. The request body must be empty. A successful response returns a `ListLabelLocksResponse` instance. Authorization requires specific OAuth scopes related to Google Drive labels.\n"]]