blob: 08820a620e526970e320fad93efe3f059e589213 [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">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</a></code></p>
79<p class="firstline">Fetches the expansion file configuration for the specified APK.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Patches the APK's expansion file configuration to reference another APK's</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="#update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Updates the APK's expansion file configuration to reference another APK's</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="#upload">upload(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None, media_body=None, media_mime_type=None)</a></code></p>
88<p class="firstline">Uploads a new expansion file and attaches to the specified APK.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<h3>Method Details</h3>
90<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070091 <code class="details" id="get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</code>
92 <pre>Fetches the expansion file configuration for the specified APK.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070093
94Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070095 packageName: string, Package name of the app. (required)
96 editId: string, Identifier of the edit. (required)
97 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being
98read or modified. (required)
99 expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
100 x__xgafv: string, V1 error format.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700102 1 - v1 error format
103 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700104
105Returns:
106 An object of the form:
107
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 { # An expansion file. The resource for ExpansionFilesService.
109 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
110 # The file_size field will not be set.
111 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
112 # to it: this APK does not reference another APK&#x27;s expansion file.
113 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115</div>
116
117<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 <code class="details" id="patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
119 <pre>Patches the APK&#x27;s expansion file configuration to reference another APK&#x27;s
120expansion file.
121To add a new expansion file use the Upload method.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700122
123Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 packageName: string, Package name of the app. (required)
125 editId: string, Identifier of the edit. (required)
126 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being
127read or modified. (required)
128 expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700129 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700130 The object takes the form of:
131
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132{ # An expansion file. The resource for ExpansionFilesService.
133 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
134 # The file_size field will not be set.
135 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
136 # to it: this APK does not reference another APK&#x27;s expansion file.
137 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700139
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 x__xgafv: string, V1 error format.
141 Allowed values
142 1 - v1 error format
143 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700144
145Returns:
146 An object of the form:
147
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700148 { # An expansion file. The resource for ExpansionFilesService.
149 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
150 # The file_size field will not be set.
151 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
152 # to it: this APK does not reference another APK&#x27;s expansion file.
153 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700155</div>
156
157<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700158 <code class="details" id="update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
159 <pre>Updates the APK&#x27;s expansion file configuration to reference another APK&#x27;s
160expansion file.
161To add a new expansion file use the Upload method.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700162
163Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700164 packageName: string, Package name of the app. (required)
165 editId: string, Identifier of the edit. (required)
166 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being
167read or modified. (required)
168 expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700169 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700170 The object takes the form of:
171
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172{ # An expansion file. The resource for ExpansionFilesService.
173 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
174 # The file_size field will not be set.
175 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
176 # to it: this APK does not reference another APK&#x27;s expansion file.
177 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700178}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700179
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700184
185Returns:
186 An object of the form:
187
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 { # An expansion file. The resource for ExpansionFilesService.
189 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
190 # The file_size field will not be set.
191 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
192 # to it: this APK does not reference another APK&#x27;s expansion file.
193 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700194 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700195</div>
196
197<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700198 <code class="details" id="upload">upload(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None, media_body=None, media_mime_type=None)</code>
199 <pre>Uploads a new expansion file and attaches to the specified APK.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700200
201Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700202 packageName: string, Package name of the app. (required)
203 editId: string, Identifier of the edit. (required)
204 apkVersionCode: integer, The version code of the APK whose expansion file configuration is being
205read or modified. (required)
206 expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
207 x__xgafv: string, V1 error format.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700208 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700209 1 - v1 error format
210 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700211 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
212 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
213
214Returns:
215 An object of the form:
216
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 { # Response for uploading an expansion file.
218 &quot;expansionFile&quot;: { # An expansion file. The resource for ExpansionFilesService. # The uploaded expansion file configuration.
219 &quot;referencesVersion&quot;: 42, # If set, this APK&#x27;s expansion file references another APK&#x27;s expansion file.
220 # The file_size field will not be set.
221 &quot;fileSize&quot;: &quot;A String&quot;, # If set, this field indicates that this APK has an expansion file uploaded
222 # to it: this APK does not reference another APK&#x27;s expansion file.
223 # The field&#x27;s value is the size of the uploaded expansion file in bytes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700225 }</pre>
226</div>
227
228</body></html>