REST Resource: edits.expansionfiles
Resource: ExpansionFile
An expansion file. The resource for ExpansionFilesService.
JSON representation |
{
"referencesVersion": integer,
"fileSize": string
} |
Fields |
referencesVersion |
integer
If set, this APK's expansion file references another APK's expansion file. The fileSize field will not be set.
|
fileSize |
string (int64 format)
If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes.
|
Methods |
|
Fetches the expansion file configuration for the specified APK. |
|
Patches the APK's expansion file configuration to reference another APK's expansion file. |
|
Updates the APK's expansion file configuration to reference another APK's expansion file. |
|
Uploads a new expansion file and attaches to the specified APK. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["An ExpansionFile resource defines the configuration for expansion files associated with an APK in Google Play."],["It allows an APK to either reference another APK's expansion file or have its own expansion file uploaded."],["Developers can manage expansion files using methods like get, patch, update, and upload to retrieve, modify, or add expansion file configurations for their APKs."],["The `referencesVersion` and `fileSize` fields in the JSON representation determine if an APK references another expansion file or has its own uploaded file with the specified size."]]],["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"]]