Method: labels.locks.list
HTTP リクエスト
GET https://drivelabels.googleapis.com/v2/{parent=labels/*}/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-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"]]