Method: permissions.get
Zwraca uprawnienia dla podanego identyfikatora wydawcy.
Żądanie HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
resourceId |
string (int64 format)
Unikalny identyfikator wydawcy. Ten identyfikator musi być unikalny wśród wszystkich wydawców.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Permissions
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/wallet_object.issuer
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-03-13 UTC.
[null,null,["Ostatnia aktualizacja: 2025-03-13 UTC."],[[["Retrieves permissions associated with a specific issuer ID using a GET request."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."],["Utilizes a path parameter to specify the issuer ID, which must be unique and in `int64` format."],["Response provides permission details in the form of a `Permissions` object if the request is successful."],["The request body should be empty for this operation."]]],["This document details retrieving permissions for a specific issuer using a GET request. The core action is a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}`, with the `resourceId` being a unique issuer identifier. The request body must be empty. A successful response contains `Permissions`. The process requires the OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` for authorization. It uses gRPC Transcoding syntax for the URL.\n"]]