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에 첨부합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eAn ExpansionFile resource defines the configuration for expansion files associated with an APK in Google Play.\u003c/p\u003e\n"],["\u003cp\u003eIt allows an APK to either reference another APK's expansion file or have its own expansion file uploaded.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can manage expansion files using methods like get, patch, update, and upload to retrieve, modify, or add expansion file configurations for their APKs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereferencesVersion\u003c/code\u003e and \u003ccode\u003efileSize\u003c/code\u003e fields in the JSON representation determine if an APK references another expansion file or has its own uploaded file with the specified size.\u003c/p\u003e\n"]]],["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"],null,["# REST Resource: edits.expansionfiles\n\n- [Resource: ExpansionFile](#ExpansionFile)\n - [JSON representation](#ExpansionFile.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ExpansionFile\n-----------------------\n\nAn expansion file. The resource for ExpansionFilesService.\n\n| JSON representation |\n|--------------------------------------------------------------|\n| ``` { \"referencesVersion\": integer, \"fileSize\": string } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `referencesVersion` | `integer` If set, this APK's expansion file references another APK's expansion file. The fileSize field will not be set. |\n| `fileSize` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` 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. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| ### [get](/android-publisher/api-ref/rest/v3/edits.expansionfiles/get) | Fetches the expansion file configuration for the specified APK. |\n| ### [patch](/android-publisher/api-ref/rest/v3/edits.expansionfiles/patch) | Patches the APK's expansion file configuration to reference another APK's expansion file. |\n| ### [update](/android-publisher/api-ref/rest/v3/edits.expansionfiles/update) | Updates the APK's expansion file configuration to reference another APK's expansion file. |\n| ### [upload](/android-publisher/api-ref/rest/v3/edits.expansionfiles/upload) | Uploads a new expansion file and attaches to the specified APK. |"]]