Method: permissions.update
Belirtilen verenin izinlerini günceller.
HTTP isteği
PUT https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
resourceId |
string (int64 format)
Bir ihraççının benzersiz tanımlayıcısı. Bu kimlik, tüm kart verenler arasında benzersiz olmalıdır.
|
İstek içeriği
İstek metni, Permissions
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Permissions
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/wallet_object.issuer
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-07 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-07 UTC."],[[["Updates permissions for a given issuer using a PUT request."],["Requires a unique issuer ID as a path parameter in the request URL."],["Uses Permissions object in the request and response body for managing permissions data."],["Needs 'wallet_object.issuer' OAuth scope for authorization."]]],["The core content describes updating permissions for an issuer using a PUT request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}`. The `resourceId` parameter in the URL path identifies the issuer. The request body includes `Permissions` data, and a successful response also contains `Permissions`. This process requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization.\n"]]