Debian Codegraph @

docs/dyn/androidpublisher_v3.edits.tracks.html

raw
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
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="#create">create(packageName, editId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new track.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(packageName, editId, track, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets a track.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(packageName, editId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists all tracks.</p>
89 <p class="toc_element">
90 <code><a href="#patch">patch(packageName, editId, track, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Patches a track.</p>
92 <p class="toc_element">
93 <code><a href="#update">update(packageName, editId, track, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a track.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(packageName, editId, body=None, x__xgafv=None)</code>
103 <pre>Creates a new track.
104
105 Args:
106 packageName: string, Required. Package name of the app. (required)
107 editId: string, Required. Identifier of the edit. (required)
108 body: object, The request body.
109 The object takes the form of:
110
111 { # Configurations of the new track.
112 &quot;formFactor&quot;: &quot;A String&quot;, # Required. Form factor of the new track. Defaults to the default track.
113 &quot;track&quot;: &quot;A String&quot;, # Required. Identifier of the new track. For default tracks, this field consists of the track alias only. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. This prefix must match the value of the `form_factor` field, if it is not a default track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
114 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the new track. Currently, the only supported value is closedTesting.
115 }
116
117 x__xgafv: string, V1 error format.
118 Allowed values
119 1 - v1 error format
120 2 - v2 error format
121
122 Returns:
123 An object of the form:
124
125 { # A track configuration. The resource for TracksService.
126 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
127 { # A release within a track.
128 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
129 &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).
130 &quot;A String&quot;,
131 ],
132 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
133 },
134 &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.
135 &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.
136 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
137 { # Localized text in given language.
138 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
139 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
140 },
141 ],
142 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
143 &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;.
144 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
145 &quot;A String&quot;,
146 ],
147 },
148 ],
149 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
150 }</pre>
151 </div>
152
153 <div class="method">
154 <code class="details" id="get">get(packageName, editId, track, x__xgafv=None)</code>
155 <pre>Gets a track.
156
157 Args:
158 packageName: string, Package name of the app. (required)
159 editId: string, Identifier of the edit. (required)
160 track: string, Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name) (required)
161 x__xgafv: string, V1 error format.
162 Allowed values
163 1 - v1 error format
164 2 - v2 error format
165
166 Returns:
167 An object of the form:
168
169 { # A track configuration. The resource for TracksService.
170 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
171 { # A release within a track.
172 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
173 &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).
174 &quot;A String&quot;,
175 ],
176 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
177 },
178 &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.
179 &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.
180 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
181 { # Localized text in given language.
182 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
183 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
184 },
185 ],
186 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
187 &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;.
188 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
189 &quot;A String&quot;,
190 ],
191 },
192 ],
193 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
194 }</pre>
195 </div>
196
197 <div class="method">
198 <code class="details" id="list">list(packageName, editId, x__xgafv=None)</code>
199 <pre>Lists all tracks.
200
201 Args:
202 packageName: string, Package name of the app. (required)
203 editId: string, Identifier of the edit. (required)
204 x__xgafv: string, V1 error format.
205 Allowed values
206 1 - v1 error format
207 2 - v2 error format
208
209 Returns:
210 An object of the form:
211
212 { # Response listing all tracks.
213 &quot;kind&quot;: &quot;A String&quot;, # The kind of this response (&quot;androidpublisher#tracksListResponse&quot;).
214 &quot;tracks&quot;: [ # All tracks (including tracks with no releases).
215 { # A track configuration. The resource for TracksService.
216 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
217 { # A release within a track.
218 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
219 &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).
220 &quot;A String&quot;,
221 ],
222 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
223 },
224 &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.
225 &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.
226 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
227 { # Localized text in given language.
228 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
229 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
230 },
231 ],
232 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
233 &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;.
234 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
235 &quot;A String&quot;,
236 ],
237 },
238 ],
239 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
240 },
241 ],
242 }</pre>
243 </div>
244
245 <div class="method">
246 <code class="details" id="patch">patch(packageName, editId, track, body=None, x__xgafv=None)</code>
247 <pre>Patches a track.
248
249 Args:
250 packageName: string, Package name of the app. (required)
251 editId: string, Identifier of the edit. (required)
252 track: string, Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name) (required)
253 body: object, The request body.
254 The object takes the form of:
255
256 { # A track configuration. The resource for TracksService.
257 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
258 { # A release within a track.
259 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
260 &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).
261 &quot;A String&quot;,
262 ],
263 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
264 },
265 &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.
266 &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.
267 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
268 { # Localized text in given language.
269 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
270 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
271 },
272 ],
273 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
274 &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;.
275 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
276 &quot;A String&quot;,
277 ],
278 },
279 ],
280 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
281 }
282
283 x__xgafv: string, V1 error format.
284 Allowed values
285 1 - v1 error format
286 2 - v2 error format
287
288 Returns:
289 An object of the form:
290
291 { # A track configuration. The resource for TracksService.
292 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
293 { # A release within a track.
294 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
295 &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).
296 &quot;A String&quot;,
297 ],
298 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
299 },
300 &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.
301 &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.
302 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
303 { # Localized text in given language.
304 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
305 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
306 },
307 ],
308 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
309 &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;.
310 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
311 &quot;A String&quot;,
312 ],
313 },
314 ],
315 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
316 }</pre>
317 </div>
318
319 <div class="method">
320 <code class="details" id="update">update(packageName, editId, track, body=None, x__xgafv=None)</code>
321 <pre>Updates a track.
322
323 Args:
324 packageName: string, Package name of the app. (required)
325 editId: string, Identifier of the edit. (required)
326 track: string, Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name) (required)
327 body: object, The request body.
328 The object takes the form of:
329
330 { # A track configuration. The resource for TracksService.
331 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
332 { # A release within a track.
333 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
334 &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).
335 &quot;A String&quot;,
336 ],
337 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
338 },
339 &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.
340 &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.
341 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
342 { # Localized text in given language.
343 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
344 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
345 },
346 ],
347 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
348 &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;.
349 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
350 &quot;A String&quot;,
351 ],
352 },
353 ],
354 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
355 }
356
357 x__xgafv: string, V1 error format.
358 Allowed values
359 1 - v1 error format
360 2 - v2 error format
361
362 Returns:
363 An object of the form:
364
365 { # A track configuration. The resource for TracksService.
366 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
367 { # A release within a track.
368 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
369 &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).
370 &quot;A String&quot;,
371 ],
372 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
373 },
374 &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.
375 &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.
376 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
377 { # Localized text in given language.
378 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
379 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
380 },
381 ],
382 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
383 &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;.
384 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
385 &quot;A String&quot;,
386 ],
387 },
388 ],
389 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name)
390 }</pre>
391 </div>
392
393 </body></html>