權限:取得
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
取得 Looker Studio 資產的權限。
要求
HTTP 要求
GET https://datastudio.googleapis.com/v1/assets/{assetName}/permissions
路徑參數
參數名稱 |
類型 |
說明 |
assetName |
字串 |
資產名稱 (ID)。 |
授權
這項要求需要取得授權的使用者俱備足夠的權限才能查看
至少具備下列其中一個範圍的資產權限與授權:
範圍 |
https://www.googleapis.com/auth/datastudio.readonly |
https://www.googleapis.com/auth/datastudio |
要求主體
請勿使用這個方法提供請求主體。
回應
如果成功,這個方法會傳回 Permissions 物件。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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."]]