Method: edits.expansionfiles.update
อัปเดตการกำหนดค่าไฟล์สำหรับขยายของ APK ให้อ้างอิงไฟล์สำหรับขยายของ APK อื่น ในการเพิ่มไฟล์สำหรับขยายใหม่ ให้ใช้วิธีexpandfiles.upload
คำขอ HTTP
PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
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"]]