Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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.edits.html">edits</a> . <a href="androidpublisher_v3.edits.tracks.html">tracks</a></h1> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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="#get">get(packageName, editId, track, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Gets a track.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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="#list">list(packageName, editId, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Lists all tracks.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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="#patch">patch(packageName, editId, track, body=None, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Patches a track.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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="#update">update(packageName, editId, track, body=None, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Updates a track.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 91 | <code class="details" id="get">get(packageName, editId, track, x__xgafv=None)</code> |
| 92 | <pre>Gets a track. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 93 | |
| 94 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 95 | packageName: string, Package name of the app. (required) |
| 96 | editId: string, Identifier of the edit. (required) |
| 97 | track: string, Identifier of the track. (required) |
| 98 | x__xgafv: string, V1 error format. |
| 99 | Allowed values |
| 100 | 1 - v1 error format |
| 101 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 102 | |
| 103 | Returns: |
| 104 | An object of the form: |
| 105 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 106 | { # A track configuration. The resource for TracksService. |
| 107 | "releases": [ # In a read request, represents all active releases in the track. |
| 108 | # In an update request, represents desired changes. |
| 109 | { # A release within a track. |
| 110 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 111 | # release will be considered at this priority. Can take values in the range |
| 112 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 113 | # in_app_update_priority can not be updated once the release is rolled out. |
| 114 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 115 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 116 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 117 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 118 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 119 | "A String", |
| 120 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 122 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 123 | # Can only be set when status is "inProgress" or "halted". |
| 124 | "releaseNotes": [ # A description of what is new in this release. |
| 125 | { # Release notes specification, i.e. language and text. |
| 126 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 127 | # for Austrian German). |
| 128 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 129 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 130 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 131 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 132 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 133 | "A String", |
| 134 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 135 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 136 | # generated from the APK's version_name. If the release contains multiple |
| 137 | # APKs, the name is generated from the date. |
| 138 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 139 | }, |
| 140 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 141 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 142 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -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="list">list(packageName, editId, x__xgafv=None)</code> |
| 147 | <pre>Lists all tracks. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 148 | |
| 149 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 150 | packageName: string, Package name of the app. (required) |
| 151 | editId: string, Identifier of the edit. (required) |
| 152 | x__xgafv: string, V1 error format. |
| 153 | Allowed values |
| 154 | 1 - v1 error format |
| 155 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 156 | |
| 157 | Returns: |
| 158 | An object of the form: |
| 159 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 160 | { # Response listing all tracks. |
| 161 | "tracks": [ # All tracks. |
| 162 | { # A track configuration. The resource for TracksService. |
| 163 | "releases": [ # In a read request, represents all active releases in the track. |
| 164 | # In an update request, represents desired changes. |
| 165 | { # A release within a track. |
| 166 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 167 | # release will be considered at this priority. Can take values in the range |
| 168 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 169 | # in_app_update_priority can not be updated once the release is rolled out. |
| 170 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 171 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 172 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 173 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 174 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 175 | "A String", |
| 176 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 177 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 178 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 179 | # Can only be set when status is "inProgress" or "halted". |
| 180 | "releaseNotes": [ # A description of what is new in this release. |
| 181 | { # Release notes specification, i.e. language and text. |
| 182 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 183 | # for Austrian German). |
| 184 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 185 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 186 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 187 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 188 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | "A String", |
| 190 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 191 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 192 | # generated from the APK's version_name. If the release contains multiple |
| 193 | # APKs, the name is generated from the date. |
| 194 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 195 | }, |
| 196 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 197 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 198 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 199 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 200 | "kind": "A String", # The kind of this response ("androidpublisher#tracksListResponse"). |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 201 | }</pre> |
| 202 | </div> |
| 203 | |
| 204 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 205 | <code class="details" id="patch">patch(packageName, editId, track, body=None, x__xgafv=None)</code> |
| 206 | <pre>Patches a track. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 207 | |
| 208 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 209 | packageName: string, Package name of the app. (required) |
| 210 | editId: string, Identifier of the edit. (required) |
| 211 | track: string, Identifier of the track. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 212 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 213 | The object takes the form of: |
| 214 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 215 | { # A track configuration. The resource for TracksService. |
| 216 | "releases": [ # In a read request, represents all active releases in the track. |
| 217 | # In an update request, represents desired changes. |
| 218 | { # A release within a track. |
| 219 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 220 | # release will be considered at this priority. Can take values in the range |
| 221 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 222 | # in_app_update_priority can not be updated once the release is rolled out. |
| 223 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 224 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 225 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 226 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 227 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | "A String", |
| 229 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 230 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 231 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 232 | # Can only be set when status is "inProgress" or "halted". |
| 233 | "releaseNotes": [ # A description of what is new in this release. |
| 234 | { # Release notes specification, i.e. language and text. |
| 235 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 236 | # for Austrian German). |
| 237 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 238 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 239 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 240 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 241 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 242 | "A String", |
| 243 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 244 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 245 | # generated from the APK's version_name. If the release contains multiple |
| 246 | # APKs, the name is generated from the date. |
| 247 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 248 | }, |
| 249 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 250 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 251 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 252 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 253 | x__xgafv: string, V1 error format. |
| 254 | Allowed values |
| 255 | 1 - v1 error format |
| 256 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 257 | |
| 258 | Returns: |
| 259 | An object of the form: |
| 260 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 261 | { # A track configuration. The resource for TracksService. |
| 262 | "releases": [ # In a read request, represents all active releases in the track. |
| 263 | # In an update request, represents desired changes. |
| 264 | { # A release within a track. |
| 265 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 266 | # release will be considered at this priority. Can take values in the range |
| 267 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 268 | # in_app_update_priority can not be updated once the release is rolled out. |
| 269 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 270 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 271 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 272 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 273 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 274 | "A String", |
| 275 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 276 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 277 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 278 | # Can only be set when status is "inProgress" or "halted". |
| 279 | "releaseNotes": [ # A description of what is new in this release. |
| 280 | { # Release notes specification, i.e. language and text. |
| 281 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 282 | # for Austrian German). |
| 283 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 284 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 285 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 286 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 287 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 288 | "A String", |
| 289 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 290 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 291 | # generated from the APK's version_name. If the release contains multiple |
| 292 | # APKs, the name is generated from the date. |
| 293 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 294 | }, |
| 295 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 296 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 297 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 298 | </div> |
| 299 | |
| 300 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 301 | <code class="details" id="update">update(packageName, editId, track, body=None, x__xgafv=None)</code> |
| 302 | <pre>Updates a track. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 303 | |
| 304 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 305 | packageName: string, Package name of the app. (required) |
| 306 | editId: string, Identifier of the edit. (required) |
| 307 | track: string, Identifier of the track. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 308 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 309 | The object takes the form of: |
| 310 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 311 | { # A track configuration. The resource for TracksService. |
| 312 | "releases": [ # In a read request, represents all active releases in the track. |
| 313 | # In an update request, represents desired changes. |
| 314 | { # A release within a track. |
| 315 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 316 | # release will be considered at this priority. Can take values in the range |
| 317 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 318 | # in_app_update_priority can not be updated once the release is rolled out. |
| 319 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 320 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 321 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 322 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 323 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 324 | "A String", |
| 325 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 326 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 327 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 328 | # Can only be set when status is "inProgress" or "halted". |
| 329 | "releaseNotes": [ # A description of what is new in this release. |
| 330 | { # Release notes specification, i.e. language and text. |
| 331 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 332 | # for Austrian German). |
| 333 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 334 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 335 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 336 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 337 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 338 | "A String", |
| 339 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 340 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 341 | # generated from the APK's version_name. If the release contains multiple |
| 342 | # APKs, the name is generated from the date. |
| 343 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 344 | }, |
| 345 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 346 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 347 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 348 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 349 | x__xgafv: string, V1 error format. |
| 350 | Allowed values |
| 351 | 1 - v1 error format |
| 352 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 353 | |
| 354 | Returns: |
| 355 | An object of the form: |
| 356 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 357 | { # A track configuration. The resource for TracksService. |
| 358 | "releases": [ # In a read request, represents all active releases in the track. |
| 359 | # In an update request, represents desired changes. |
| 360 | { # A release within a track. |
| 361 | "inAppUpdatePriority": 42, # In-app update priority of the release. All newly added APKs in the |
| 362 | # release will be considered at this priority. Can take values in the range |
| 363 | # [0, 5], with 5 the highest priority. Defaults to 0. |
| 364 | # in_app_update_priority can not be updated once the release is rolled out. |
| 365 | # See https://developer.android.com/guide/playcore/in-app-updates. |
| 366 | "countryTargeting": { # Country targeting specification. # Restricts a release to a specific set of countries. |
| 367 | "includeRestOfWorld": True or False, # Include "rest of world" as well as explicitly targeted countries. |
| 368 | "countries": [ # Countries to target, specified as two letter [CLDR |
| 369 | # codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 370 | "A String", |
| 371 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 372 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 373 | "userFraction": 3.14, # Fraction of users who are eligible for a staged release. 0 < fraction < 1. |
| 374 | # Can only be set when status is "inProgress" or "halted". |
| 375 | "releaseNotes": [ # A description of what is new in this release. |
| 376 | { # Release notes specification, i.e. language and text. |
| 377 | "language": "A String", # Language localization code (a BCP-47 language tag; for example, "de-AT" |
| 378 | # for Austrian German). |
| 379 | "text": "A String", # The text in the given language. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 380 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 381 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 382 | "versionCodes": [ # Version codes of all APKs in the release. Must include version codes to |
| 383 | # retain from previous releases. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 384 | "A String", |
| 385 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 386 | "name": "A String", # The release name. Not required to be unique. If not set, the name is |
| 387 | # generated from the APK's version_name. If the release contains multiple |
| 388 | # APKs, the name is generated from the date. |
| 389 | "status": "A String", # The status of the release. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 390 | }, |
| 391 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 392 | "track": "A String", # Identifier of the track. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 393 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 394 | </div> |
| 395 | |
| 396 | </body></html> |