REST Resource: edits.expansionfiles
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:ExpansionFile
一个扩展文件。ExpansionFilesService 的资源。
| JSON 表示法 |
{
"referencesVersion": integer,
"fileSize": string
} |
| 字段 |
referencesVersion |
integer
如果设置,则相应 APK 的扩展文件将引用另一个 APK 的扩展文件。系统将不会设置 fileSize 字段。
|
fileSize |
string (int64 format)
如果设置,则此字段表示已为相应 APK 上传了一个扩展文件:相应 APK 不会引用另一个 APK 的扩展文件。此字段的值为已上传的扩展文件的大小(以字节为单位)。
|
方法 |
|
|
提取指定 APK 的扩展文件配置。 |
|
|
修补相应 APK 的扩展文件配置以引用另一 APK 的扩展文件。 |
|
|
更新相应 APK 的扩展文件配置以引用另一 APK 的扩展文件。 |
|
|
上传新的扩展文件并将其附加到指定 APK 中。 |
错误代码
此资源的操作会返回以下 HTTP 错误代码:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-01-14。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-01-14。"],[],["Expansion files are configured with `referencesVersion` (referencing another APK's file) or `fileSize` (indicating an uploaded file's size in bytes). Key actions include: fetching an APK's expansion file configuration via `get`, modifying it to reference another file with `patch` or `update`, and uploading a new expansion file using `upload`. The JSON representation shows a file size and references version.\n"]]