Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 75 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 78 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 81 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 84 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 87 | <code><a href="#get">get(packageName, versionCode, variantId, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 88 | <p class="firstline">Returns a previously created system APK variant.</p> |
| 89 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 90 | <code><a href="#list">list(packageName, versionCode, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 91 | <p class="firstline">Returns the list of previously created system APK variants.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 94 | <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 |
| 96 | already uploaded Android App Bundle. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 97 | |
| 98 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 99 | packageName: string, Unique identifier of the Android app. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 100 | 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 Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 104 | { # APK that is suitable for inclusion in a system image. The resource of |
| 105 | # SystemApksService. |
| 106 | "variantId": 42, # Output only. The ID of a previously created system APK variant. |
| 107 | "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. |
| 108 | "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 109 | "A String", |
| 110 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 111 | "supportedAbis": [ # Supported ABI architectures in the order of preference. |
| 112 | # The values should be the string as reported by the platform, e.g. |
| 113 | # "armeabi-v7a", "x86_64". |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 114 | "A String", |
| 115 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 116 | "screenDensity": 42, # Screen dpi. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 117 | }, |
| 118 | } |
| 119 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 120 | x__xgafv: string, V1 error format. |
| 121 | Allowed values |
| 122 | 1 - v1 error format |
| 123 | 2 - v2 error format |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 124 | |
| 125 | Returns: |
| 126 | An object of the form: |
| 127 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 128 | { # APK that is suitable for inclusion in a system image. The resource of |
| 129 | # SystemApksService. |
| 130 | "variantId": 42, # Output only. The ID of a previously created system APK variant. |
| 131 | "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. |
| 132 | "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". |
| 133 | "A String", |
| 134 | ], |
| 135 | "supportedAbis": [ # Supported ABI architectures in the order of preference. |
| 136 | # The values should be the string as reported by the platform, e.g. |
| 137 | # "armeabi-v7a", "x86_64". |
| 138 | "A String", |
| 139 | ], |
| 140 | "screenDensity": 42, # Screen dpi. |
| 141 | }, |
| 142 | }</pre> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 143 | </div> |
| 144 | |
| 145 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 146 | <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 |
| 148 | in a system image. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 149 | |
| 150 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 151 | packageName: string, Unique identifier of the Android app. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 152 | versionCode: string, The version code of the App Bundle. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 153 | 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 158 | </pre> |
| 159 | </div> |
| 160 | |
| 161 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 162 | <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 |
| 164 | in a system image. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 165 | |
| 166 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 167 | packageName: string, Unique identifier of the Android app. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 168 | versionCode: string, The version code of the App Bundle. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 169 | 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 174 | </pre> |
| 175 | </div> |
| 176 | |
| 177 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 178 | <code class="details" id="get">get(packageName, versionCode, variantId, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 179 | <pre>Returns a previously created system APK variant. |
| 180 | |
| 181 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 182 | packageName: string, Unique identifier of the Android app. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | versionCode: string, The version code of the App Bundle. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 184 | 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | |
| 190 | Returns: |
| 191 | An object of the form: |
| 192 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 193 | { # APK that is suitable for inclusion in a system image. The resource of |
| 194 | # SystemApksService. |
| 195 | "variantId": 42, # Output only. The ID of a previously created system APK variant. |
| 196 | "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. |
| 197 | "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". |
| 198 | "A String", |
| 199 | ], |
| 200 | "supportedAbis": [ # Supported ABI architectures in the order of preference. |
| 201 | # The values should be the string as reported by the platform, e.g. |
| 202 | # "armeabi-v7a", "x86_64". |
| 203 | "A String", |
| 204 | ], |
| 205 | "screenDensity": 42, # Screen dpi. |
| 206 | }, |
| 207 | }</pre> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 208 | </div> |
| 209 | |
| 210 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 211 | <code class="details" id="list">list(packageName, versionCode, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 212 | <pre>Returns the list of previously created system APK variants. |
| 213 | |
| 214 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 215 | packageName: string, Unique identifier of the Android app. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | versionCode: string, The version code of the App Bundle. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 217 | x__xgafv: string, V1 error format. |
| 218 | Allowed values |
| 219 | 1 - v1 error format |
| 220 | 2 - v2 error format |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 221 | |
| 222 | Returns: |
| 223 | An object of the form: |
| 224 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 225 | { # Response to list previously created system APK variants. |
| 226 | "variants": [ # All system APK variants created. |
| 227 | { # APK that is suitable for inclusion in a system image. The resource of |
| 228 | # SystemApksService. |
| 229 | "variantId": 42, # Output only. The ID of a previously created system APK variant. |
| 230 | "deviceSpec": { # The device spec used to generate a system APK. # The device spec used to generate the APK. |
| 231 | "supportedLocales": [ # All installed locales represented as BCP-47 strings, e.g. "en-US". |
| 232 | "A String", |
| 233 | ], |
| 234 | "supportedAbis": [ # Supported ABI architectures in the order of preference. |
| 235 | # The values should be the string as reported by the platform, e.g. |
| 236 | # "armeabi-v7a", "x86_64". |
| 237 | "A String", |
| 238 | ], |
| 239 | "screenDensity": 42, # Screen dpi. |
| 240 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 241 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 242 | ], |
| 243 | }</pre> |
| 244 | </div> |
| 245 | |
| 246 | </body></html> |