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  &quot;releases&quot;: [ # 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      &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
118        &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
119          &quot;A String&quot;,
120        ],
121        &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
122      },
123      &quot;inAppUpdatePriority&quot;: 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      &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
125      &quot;releaseNotes&quot;: [ # A description of what is new in this release.
126        { # Release notes specification, i.e. language and text.
127          &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
128          &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
129        },
130      ],
131      &quot;status&quot;: &quot;A String&quot;, # The status of the release.
132      &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
133      &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
134        &quot;A String&quot;,
135      ],
136    },
137  ],
138  &quot;track&quot;: &quot;A String&quot;, # 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  &quot;kind&quot;: &quot;A String&quot;, # The kind of this response (&quot;androidpublisher#tracksListResponse&quot;).
159  &quot;tracks&quot;: [ # All tracks.
160    { # A track configuration. The resource for TracksService.
161      &quot;releases&quot;: [ # 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          &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
164            &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
165              &quot;A String&quot;,
166            ],
167            &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
168          },
169          &quot;inAppUpdatePriority&quot;: 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          &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
171          &quot;releaseNotes&quot;: [ # A description of what is new in this release.
172            { # Release notes specification, i.e. language and text.
173              &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
174              &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
175            },
176          ],
177          &quot;status&quot;: &quot;A String&quot;, # The status of the release.
178          &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
179          &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
180            &quot;A String&quot;,
181          ],
182        },
183      ],
184      &quot;track&quot;: &quot;A String&quot;, # 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  &quot;releases&quot;: [ # 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      &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
205        &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
206          &quot;A String&quot;,
207        ],
208        &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
209      },
210      &quot;inAppUpdatePriority&quot;: 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      &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
212      &quot;releaseNotes&quot;: [ # A description of what is new in this release.
213        { # Release notes specification, i.e. language and text.
214          &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
215          &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
216        },
217      ],
218      &quot;status&quot;: &quot;A String&quot;, # The status of the release.
219      &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
220      &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
221        &quot;A String&quot;,
222      ],
223    },
224  ],
225  &quot;track&quot;: &quot;A String&quot;, # 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  &quot;releases&quot;: [ # 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      &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
240        &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
241          &quot;A String&quot;,
242        ],
243        &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
244      },
245      &quot;inAppUpdatePriority&quot;: 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      &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
247      &quot;releaseNotes&quot;: [ # A description of what is new in this release.
248        { # Release notes specification, i.e. language and text.
249          &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
250          &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
251        },
252      ],
253      &quot;status&quot;: &quot;A String&quot;, # The status of the release.
254      &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
255      &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
256        &quot;A String&quot;,
257      ],
258    },
259  ],
260  &quot;track&quot;: &quot;A String&quot;, # 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  &quot;releases&quot;: [ # 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      &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
279        &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
280          &quot;A String&quot;,
281        ],
282        &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
283      },
284      &quot;inAppUpdatePriority&quot;: 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      &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
286      &quot;releaseNotes&quot;: [ # A description of what is new in this release.
287        { # Release notes specification, i.e. language and text.
288          &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
289          &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
290        },
291      ],
292      &quot;status&quot;: &quot;A String&quot;, # The status of the release.
293      &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
294      &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
295        &quot;A String&quot;,
296      ],
297    },
298  ],
299  &quot;track&quot;: &quot;A String&quot;, # 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  &quot;releases&quot;: [ # 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      &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
314        &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
315          &quot;A String&quot;,
316        ],
317        &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
318      },
319      &quot;inAppUpdatePriority&quot;: 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      &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
321      &quot;releaseNotes&quot;: [ # A description of what is new in this release.
322        { # Release notes specification, i.e. language and text.
323          &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
324          &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
325        },
326      ],
327      &quot;status&quot;: &quot;A String&quot;, # The status of the release.
328      &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
329      &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
330        &quot;A String&quot;,
331      ],
332    },
333  ],
334  &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
335}</pre>
336</div>
337
338</body></html>