blob: b815846ac775e9f3f45a7d73cd84285bd51b868c [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="androidpublisher_v3.html">Google Play Android Developer API</a> . <a href="androidpublisher_v3.edits.html">edits</a> . <a href="androidpublisher_v3.edits.expansionfiles.html">expansionfiles</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</a></code></p>
82<p class="firstline">Fetches the expansion file configuration for the specified APK.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088<p class="firstline">Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080090 <code><a href="#upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070091<p class="firstline">Uploads a new expansion file and attaches to the specified APK.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code class="details" id="get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</code>
100 <pre>Fetches the expansion file configuration for the specified APK.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101
102Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 packageName: string, Package name of the app. (required)
104 editId: string, Identifier of the edit. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107 Allowed values
108 expansionFileTypeUnspecified - Unspecified expansion file type.
109 main - Main expansion file.
110 patch - Patch expansion file.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 x__xgafv: string, V1 error format.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700113 1 - v1 error format
114 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115
116Returns:
117 An object of the form:
118
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 { # An expansion file. The resource for ExpansionFilesService.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800120 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
121 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
122}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123</div>
124
125<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 <code class="details" id="patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 <pre>Patches the APK&#x27;s expansion file configuration to reference another APK&#x27;s expansion file. To add a new expansion file use the Upload method.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128
129Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 packageName: string, Package name of the app. (required)
131 editId: string, Identifier of the edit. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700132 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700133 expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 Allowed values
135 expansionFileTypeUnspecified - Unspecified expansion file type.
136 main - Main expansion file.
137 patch - Patch expansion file.
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700139 The object takes the form of:
140
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700141{ # An expansion file. The resource for ExpansionFilesService.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800142 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
143 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
144}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700145
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700150
151Returns:
152 An object of the form:
153
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700154 { # An expansion file. The resource for ExpansionFilesService.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800155 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
156 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
157}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700158</div>
159
160<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700161 <code class="details" id="update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 <pre>Updates the APK&#x27;s expansion file configuration to reference another APK&#x27;s expansion file. To add a new expansion file use the Upload method.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700163
164Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 packageName: string, Package name of the app. (required)
166 editId: string, Identifier of the edit. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700168 expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700169 Allowed values
170 expansionFileTypeUnspecified - Unspecified expansion file type.
171 main - Main expansion file.
172 patch - Patch expansion file.
Dan O'Mearadd494642020-05-01 07:42:23 -0700173 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700174 The object takes the form of:
175
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176{ # An expansion file. The resource for ExpansionFilesService.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800177 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
178 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
179}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700180
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700185
186Returns:
187 An object of the form:
188
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700189 { # An expansion file. The resource for ExpansionFilesService.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800190 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
191 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
192}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700193</div>
194
195<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800196 <code class="details" id="upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None, media_mime_type=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 <pre>Uploads a new expansion file and attaches to the specified APK.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700198
199Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 packageName: string, Package name of the app. (required)
201 editId: string, Identifier of the edit. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700202 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700203 expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700204 Allowed values
205 expansionFileTypeUnspecified - Unspecified expansion file type.
206 main - Main expansion file.
207 patch - Patch expansion file.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800208 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
209 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700210 x__xgafv: string, V1 error format.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700211 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700212 1 - v1 error format
213 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700214
215Returns:
216 An object of the form:
217
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700218 { # Response for uploading an expansion file.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800219 &quot;expansionFile&quot;: { # An expansion file. The resource for ExpansionFilesService. # The uploaded expansion file configuration.
220 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK&#x27;s expansion file. The field&#x27;s value is the size of the uploaded expansion file in bytes.
221 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file. The file_size field will not be set.
222 },
223}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700224</div>
225
226</body></html>