1<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
75<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>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <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>
83<p class="toc_element">
84  <code><a href="#patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
85<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>
86<p class="toc_element">
87  <code><a href="#update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p>
88<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>
89<p class="toc_element">
90  <code><a href="#upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Uploads a new expansion file and attaches to the specified APK.</p>
92<h3>Method Details</h3>
93<div class="method">
94    <code class="details" id="close">close()</code>
95  <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
99    <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.
101
102Args:
103  packageName: string, Package name of the app. (required)
104  editId: string, Identifier of the edit. (required)
105  apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
106  expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
107    Allowed values
108      expansionFileTypeUnspecified - Unspecified expansion file type.
109      main - Main expansion file.
110      patch - Patch expansion file.
111  x__xgafv: string, V1 error format.
112    Allowed values
113      1 - v1 error format
114      2 - v2 error format
115
116Returns:
117  An object of the form:
118
119    { # An expansion file. The resource for ExpansionFilesService.
120  &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>
123</div>
124
125<div class="method">
126    <code class="details" id="patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
127  <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.
128
129Args:
130  packageName: string, Package name of the app. (required)
131  editId: string, Identifier of the edit. (required)
132  apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
133  expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
134    Allowed values
135      expansionFileTypeUnspecified - Unspecified expansion file type.
136      main - Main expansion file.
137      patch - Patch expansion file.
138  body: object, The request body.
139    The object takes the form of:
140
141{ # An expansion file. The resource for ExpansionFilesService.
142  &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}
145
146  x__xgafv: string, V1 error format.
147    Allowed values
148      1 - v1 error format
149      2 - v2 error format
150
151Returns:
152  An object of the form:
153
154    { # An expansion file. The resource for ExpansionFilesService.
155  &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>
158</div>
159
160<div class="method">
161    <code class="details" id="update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code>
162  <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.
163
164Args:
165  packageName: string, Package name of the app. (required)
166  editId: string, Identifier of the edit. (required)
167  apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
168  expansionFileType: string, The file type of the file configuration which is being read or modified. (required)
169    Allowed values
170      expansionFileTypeUnspecified - Unspecified expansion file type.
171      main - Main expansion file.
172      patch - Patch expansion file.
173  body: object, The request body.
174    The object takes the form of:
175
176{ # An expansion file. The resource for ExpansionFilesService.
177  &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}
180
181  x__xgafv: string, V1 error format.
182    Allowed values
183      1 - v1 error format
184      2 - v2 error format
185
186Returns:
187  An object of the form:
188
189    { # An expansion file. The resource for ExpansionFilesService.
190  &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>
193</div>
194
195<div class="method">
196    <code class="details" id="upload">upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None, media_mime_type=None, x__xgafv=None)</code>
197  <pre>Uploads a new expansion file and attaches to the specified APK.
198
199Args:
200  packageName: string, Package name of the app. (required)
201  editId: string, Identifier of the edit. (required)
202  apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required)
203  expansionFileType: string, The file type of the expansion file configuration which is being updated. (required)
204    Allowed values
205      expansionFileTypeUnspecified - Unspecified expansion file type.
206      main - Main expansion file.
207      patch - Patch expansion file.
208  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.
210  x__xgafv: string, V1 error format.
211    Allowed values
212      1 - v1 error format
213      2 - v2 error format
214
215Returns:
216  An object of the form:
217
218    { # Response for uploading an expansion file.
219  &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>
224</div>
225
226</body></html>