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