สิทธิ์: รับ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รับสิทธิ์สำหรับเนื้อหา Looker Studio
ส่งคำขอ
คำขอ HTTP
GET https://datastudio.googleapis.com/v1/assets/{assetName}/permissions
พารามิเตอร์เส้นทาง
ชื่อพารามิเตอร์ |
ประเภท |
คำอธิบาย |
assetName |
สตริง |
ชื่อ (รหัส) ของเนื้อหา |
การให้สิทธิ์
คำขอนี้กำหนดให้ผู้ใช้ที่ได้รับอนุญาตมีสิทธิ์เพียงพอในการดู
สิทธิ์ของเนื้อหาและการให้สิทธิ์ที่มีขอบเขตต่อไปนี้อย่างน้อย 1 ขอบเขต
ขอบเขต |
https://www.googleapis.com/auth/datastudio.readonly |
https://www.googleapis.com/auth/datastudio |
เนื้อหาของคำขอ
โปรดอย่าให้เนื้อหาคำขอตามวิธีการนี้
คำตอบ
หากทำสำเร็จ เมธอดนี้จะแสดงออบเจ็กต์ Permissions กลับมา
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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."]]