Method: labels.locks.list
הצגת ה-LabelLocks בתווית.
בקשת HTTP
GET https://drivelabels.googleapis.com/v2/{parent=labels/*}/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-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"]]