Method: applications.deviceTierConfigs.create
HTTP リクエスト
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
クエリ パラメータ
パラメータ |
allowUnknownDevices |
boolean
サービスが Play のデバイス カタログで認識されていないデバイス ID を受け入れるかどうか。
|
リクエスト本文
リクエストの本文には DeviceTierConfig
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された DeviceTierConfig
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-17 UTC。
[null,null,["最終更新日 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"]]