blob: f79c6e84f47778597a2d5bb9656e653e8fd6253e [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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.systemapks.html">systemapks</a> . <a href="androidpublisher_v3.systemapks.variants.html">variants</a></h1>
Bu Sun Kim65020912020-05-20 12:08:20 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#create">create(packageName, versionCode, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates an APK which is suitable for inclusion in a system image from an</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070080<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#download">download(packageName, versionCode, variantId, x__xgafv=None)</a></code></p>
82<p class="firstline">Downloads a previously created system APK which is suitable for inclusion</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#download_media">download_media(packageName, versionCode, variantId, x__xgafv=None)</a></code></p>
85<p class="firstline">Downloads a previously created system APK which is suitable for inclusion</p>
Bu Sun Kim65020912020-05-20 12:08:20 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#get">get(packageName, versionCode, variantId, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070088<p class="firstline">Returns a previously created system APK variant.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#list">list(packageName, versionCode, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070091<p class="firstline">Returns the list of previously created system APK variants.</p>
92<h3>Method Details</h3>
93<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070094 <code class="details" id="create">create(packageName, versionCode, body=None, x__xgafv=None)</code>
95 <pre>Creates an APK which is suitable for inclusion in a system image from an
96already uploaded Android App Bundle.
Bu Sun Kim65020912020-05-20 12:08:20 -070097
98Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 packageName: string, Unique identifier of the Android app. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700100 versionCode: string, The version code of the App Bundle. (required)
101 body: object, The request body.
102 The object takes the form of:
103
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700104{ # APK that is suitable for inclusion in a system image. The resource of
105 # SystemApksService.
106 &quot;variantId&quot;: 42, # Output only. The ID of a previously created system APK variant.
107 &quot;deviceSpec&quot;: { # The device spec used to generate a system APK. # The device spec used to generate the APK.
108 &quot;supportedLocales&quot;: [ # All installed locales represented as BCP-47 strings, e.g. &quot;en-US&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 &quot;A String&quot;,
110 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 &quot;supportedAbis&quot;: [ # Supported ABI architectures in the order of preference.
112 # The values should be the string as reported by the platform, e.g.
113 # &quot;armeabi-v7a&quot;, &quot;x86_64&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 &quot;A String&quot;,
115 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700116 &quot;screenDensity&quot;: 42, # Screen dpi.
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 },
118 }
119
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700124
125Returns:
126 An object of the form:
127
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 { # APK that is suitable for inclusion in a system image. The resource of
129 # SystemApksService.
130 &quot;variantId&quot;: 42, # Output only. The ID of a previously created system APK variant.
131 &quot;deviceSpec&quot;: { # The device spec used to generate a system APK. # The device spec used to generate the APK.
132 &quot;supportedLocales&quot;: [ # All installed locales represented as BCP-47 strings, e.g. &quot;en-US&quot;.
133 &quot;A String&quot;,
134 ],
135 &quot;supportedAbis&quot;: [ # Supported ABI architectures in the order of preference.
136 # The values should be the string as reported by the platform, e.g.
137 # &quot;armeabi-v7a&quot;, &quot;x86_64&quot;.
138 &quot;A String&quot;,
139 ],
140 &quot;screenDensity&quot;: 42, # Screen dpi.
141 },
142 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700143</div>
144
145<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700146 <code class="details" id="download">download(packageName, versionCode, variantId, x__xgafv=None)</code>
147 <pre>Downloads a previously created system APK which is suitable for inclusion
148in a system image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700149
150Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700151 packageName: string, Unique identifier of the Android app. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700152 versionCode: string, The version code of the App Bundle. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 variantId: integer, The ID of a previously created system APK variant. (required)
154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700158</pre>
159</div>
160
161<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700162 <code class="details" id="download_media">download_media(packageName, versionCode, variantId, x__xgafv=None)</code>
163 <pre>Downloads a previously created system APK which is suitable for inclusion
164in a system image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165
166Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 packageName: string, Unique identifier of the Android app. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 versionCode: string, The version code of the App Bundle. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700169 variantId: integer, The ID of a previously created system APK variant. (required)
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700174</pre>
175</div>
176
177<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700178 <code class="details" id="get">get(packageName, versionCode, variantId, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 <pre>Returns a previously created system APK variant.
180
181Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700182 packageName: string, Unique identifier of the Android app. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700183 versionCode: string, The version code of the App Bundle. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700184 variantId: integer, The ID of a previously created system APK variant. (required)
185 x__xgafv: string, V1 error format.
186 Allowed values
187 1 - v1 error format
188 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700189
190Returns:
191 An object of the form:
192
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 { # APK that is suitable for inclusion in a system image. The resource of
194 # SystemApksService.
195 &quot;variantId&quot;: 42, # Output only. The ID of a previously created system APK variant.
196 &quot;deviceSpec&quot;: { # The device spec used to generate a system APK. # The device spec used to generate the APK.
197 &quot;supportedLocales&quot;: [ # All installed locales represented as BCP-47 strings, e.g. &quot;en-US&quot;.
198 &quot;A String&quot;,
199 ],
200 &quot;supportedAbis&quot;: [ # Supported ABI architectures in the order of preference.
201 # The values should be the string as reported by the platform, e.g.
202 # &quot;armeabi-v7a&quot;, &quot;x86_64&quot;.
203 &quot;A String&quot;,
204 ],
205 &quot;screenDensity&quot;: 42, # Screen dpi.
206 },
207 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700208</div>
209
210<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700211 <code class="details" id="list">list(packageName, versionCode, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700212 <pre>Returns the list of previously created system APK variants.
213
214Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700215 packageName: string, Unique identifier of the Android app. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 versionCode: string, The version code of the App Bundle. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 x__xgafv: string, V1 error format.
218 Allowed values
219 1 - v1 error format
220 2 - v2 error format
Bu Sun Kim65020912020-05-20 12:08:20 -0700221
222Returns:
223 An object of the form:
224
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700225 { # Response to list previously created system APK variants.
226 &quot;variants&quot;: [ # All system APK variants created.
227 { # APK that is suitable for inclusion in a system image. The resource of
228 # SystemApksService.
229 &quot;variantId&quot;: 42, # Output only. The ID of a previously created system APK variant.
230 &quot;deviceSpec&quot;: { # The device spec used to generate a system APK. # The device spec used to generate the APK.
231 &quot;supportedLocales&quot;: [ # All installed locales represented as BCP-47 strings, e.g. &quot;en-US&quot;.
232 &quot;A String&quot;,
233 ],
234 &quot;supportedAbis&quot;: [ # Supported ABI architectures in the order of preference.
235 # The values should be the string as reported by the platform, e.g.
236 # &quot;armeabi-v7a&quot;, &quot;x86_64&quot;.
237 &quot;A String&quot;,
238 ],
239 &quot;screenDensity&quot;: 42, # Screen dpi.
240 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700241 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 ],
243 }</pre>
244</div>
245
246</body></html>