Uprawnienia: pobierz
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Uzyskaj uprawnienia do zasobu Looker Studio.
Żądanie
Żądanie HTTP
GET https://datastudio.googleapis.com/v1/assets/{assetName}/permissions
Parametry ścieżki
Nazwa parametru |
Typ |
Opis |
assetName |
ciąg znaków |
Nazwa (identyfikator) zasobu. |
Autoryzacja
Ta prośba wymaga, aby autoryzowany użytkownik miał wystarczające uprawnienia do wyświetlania.
uprawnienia do zasobów i autoryzacja z co najmniej jednym z tych zakresów:
Zakres |
https://www.googleapis.com/auth/datastudio.readonly |
https://www.googleapis.com/auth/datastudio |
Treść żądania
Nie podawaj treści żądania przy użyciu tej metody.
Odpowiedź
Jeśli operacja się uda, metoda zwróci obiekt Permissions.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]