Quyền: nhận
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nhận quyền đối với thành phần trong Looker Studio.
Yêu cầu
Yêu cầu HTTP
GET https://datastudio.googleapis.com/v1/assets/{assetName}/permissions
Tham số đường dẫn
Tên thông số |
Loại |
Mô tả |
assetName |
string |
Tên (ID) nội dung. |
Ủy quyền
Yêu cầu này đòi hỏi người dùng được uỷ quyền phải có đủ quyền để xem
quyền đối với tài sản và việc uỷ quyền với ít nhất một trong các phạm vi sau:
Phạm vi |
https://www.googleapis.com/auth/datastudio.readonly |
https://www.googleapis.com/auth/datastudio |
Nội dung yêu cầu
Đừng cung cấp nội dung yêu cầu bằng phương thức này.
Phản hồi
Nếu thành công, phương thức này sẽ trả về một đối tượng Permissions.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eRetrieve permissions for a Looker Studio asset using the provided HTTP GET request.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the asset's name (ID) in the request path parameter.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with scopes for either readonly or full access to Data Studio.\u003c/p\u003e\n"],["\u003cp\u003eNo request body is necessary for this method.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a Permissions object detailing the asset's permissions.\u003c/p\u003e\n"]]],[],null,["# Permissions: get\n\nGet the permissions for a Looker Studio asset.\n\nRequest\n-------\n\n### HTTP request\n\n GET https://datastudio.googleapis.com/v1/assets/{assetName}/permissions\n\n### Path parameters\n\n| Parameter name | Type | Description |\n|----------------|--------|-----------------------------|\n| assetName | string | The name (ID) of the asset. |\n\n### Authorization\n\nThis request requires the authorized user to have sufficient permissions to view\nasset permissions and authorization with at least one of the following scopes:\n\n| Scope |\n|-------------------------------------------------------|\n| `https://www.googleapis.com/auth/datastudio.readonly` |\n| `https://www.googleapis.com/auth/datastudio` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Permissions](/looker-studio/integrate/api/reference/types#Permissions) object."]]