Method: labels.revisions.locks.list
הצגת ה-LabelLocks בתווית.
בקשת HTTP
GET https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. התווית שעליה חלות הנעילות. פורמט: תוויות/{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. 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"]]