Method: edits.expansionfiles.update
別の APK の拡張ファイルを参照するように APK の拡張ファイルの設定を更新します。新しい拡張ファイルを追加するには、Expansionfiles.upload メソッドを使用します。
HTTP リクエスト
PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
editId |
string
編集の識別子。
|
apkVersionCode |
integer
拡張ファイルの設定の読み取りまたは変更対象の APK のバージョン コード。
|
expansionFileType |
enum (ExpansionFileType )
読み取りまたは変更されるファイル設定のファイル形式。
|
リクエスト本文
リクエストの本文には ExpansionFile
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には ExpansionFile
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["This operation updates an existing APK expansion file configuration to reference another APK's expansion file within an app edit."],["It uses an HTTP PUT request with specific path parameters to identify the app, edit, APK version, and expansion file type."],["The request body requires an ExpansionFile object describing the desired configuration."],["A successful operation returns the updated ExpansionFile object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process of updating an APK's expansion file configuration. It uses a PUT request to a specific URL, including package name, edit ID, APK version code, and expansion file type as path parameters. The request and response bodies both contain an `ExpansionFile` instance. The operation requires authorization via the `https://www.googleapis.com/auth/androidpublisher` OAuth scope and leverages gRPC Transcoding syntax. The content also mentions adding a new expansion file with `expansionfiles.upload`.\n"]]