Method: applications.deviceTierConfigs.create
Bir uygulama için yeni bir cihaz katmanı yapılandırması oluşturur.
HTTP isteği
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Uygulamanın paket adı.
|
Sorgu parametreleri
Parametreler |
allowUnknownDevices |
boolean
Hizmetin, Play'in cihaz kataloğunda bilinmeyen cihaz kimliklerini kabul edip etmemesi.
|
İstek içeriği
İstek metni, DeviceTierConfig
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir DeviceTierConfig
ö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."],[[["Creates a new device tier configuration for a specified Android app using an HTTP POST request."],["The request requires the app's package name as a path parameter and allows for optional query parameters like `allowUnknownDevices`."],["Request and response bodies utilize the `DeviceTierConfig` object to define the configuration details."],["Authorization is essential, necessitating the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["This outlines creating a new device tier configuration for an app using a POST request to a specific URL. The request uses path parameters, specifically the app's `packageName`. It also utilizes a query parameter, `allowUnknownDevices` (boolean), to handle unknown device IDs. The request body must include a `DeviceTierConfig` instance, and upon success, the response body returns the newly created `DeviceTierConfig`. This operation requires `androidpublisher` OAuth scope authorization.\n"]]