Method: grants.patch
Kullanıcının belirli bir pakete erişimini günceller.
HTTP isteği
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/{grant.name=developers/*/users/*/grants/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
grant.name |
string
Zorunlu. "developers/{developer}/users/{email}/grants/{packageName}" kalıbını izleyen bu bağışın kaynak adı. Bu izin taslak bir uygulama içinse bu kaynak adında paket adı yerine uygulama kimliği kullanılır.
|
Sorgu parametreleri
Parametreler |
updateMask |
string (FieldMask format)
İsteğe bağlı. Güncellenecek alanların listesi. Bu, alanların tam nitelikli adlarının virgülle ayrılmış bir listesidir. Örnek: "user.displayName,photo" .
|
İstek içeriği
İstek metni, Grant
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Grant
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
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-12-17 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-17 UTC."],[[["Updates a user's access to a specific package within the Google Play Developer API."],["The request must specify the grant resource name using a specific pattern, which includes the developer ID, user email, and package name or app ID for draft apps."],["Optionally, a field mask can be provided to specify which fields of the grant should be updated."],["The request and response bodies both utilize the `Grant` object to represent the user's access permissions."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["The content describes how to update user access to a package via a `PATCH` HTTP request. The request URL structure follows gRPC Transcoding syntax and requires a `grant.name` path parameter representing the resource. An optional `updateMask` query parameter specifies fields to update. The request body must contain a `Grant` instance, and the successful response also returns a `Grant` instance. Authorization requires the `androidpublisher` OAuth scope.\n"]]