权限:get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取 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 |
请求正文
使用此方法时请勿提供请求正文。
响应
如果成功,此方法将返回权限对象。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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."]]