blob: 37481f9a1344264230a35fe4aa7890affef5d81d [file] [log] [blame]
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +00001<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
Nathaniel Manista4f877e52015-06-15 16:44:50 +000075<h1><a href="androidenterprise_v1.html">Google Play EMM API</a> . <a href="androidenterprise_v1.products.html">products</a></h1>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#approve">approve(enterpriseId, productId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070079<p class="firstline"> Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. </p>
80<p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#generateApprovalUrl">generateApprovalUrl(enterpriseId, productId, languageCode=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.</p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#get">get(enterpriseId, productId, language=None, x__xgafv=None)</a></code></p>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000088<p class="firstline">Retrieves details of a product for display to an enterprise admin.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#getAppRestrictionsSchema">getAppRestrictionsSchema(enterpriseId, productId, language=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091<p class="firstline">Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.</p>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000092<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code><a href="#getPermissions">getPermissions(enterpriseId, productId, x__xgafv=None)</a></code></p>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000094<p class="firstline">Retrieves the Android app permissions required by this app.</p>
95<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080096 <code><a href="#list">list(enterpriseId, approved=None, language=None, maxResults=None, query=None, token=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097<p class="firstline">Finds approved products that match a query, or all approved products if there is no query.</p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070098<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code><a href="#unapprove">unapprove(enterpriseId, productId, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700100<p class="firstline">Unapproves the specified product (and the relevant app permissions, if any)</p>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000101<h3>Method Details</h3>
102<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 <code class="details" id="approve">approve(enterpriseId, productId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700104 <pre> Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000105
106Args:
107 enterpriseId: string, The ID of the enterprise. (required)
108 productId: string, The ID of the product. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700109 body: object, The request body.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000110 The object takes the form of:
111
112{
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800113 &quot;approvalUrlInfo&quot;: { # Information on an approval URL. # The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product&#x27;s entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new permissions if the product was updated since the URL was generated.
114 &quot;approvalUrl&quot;: &quot;A String&quot;, # A URL that displays a product&#x27;s permissions and that can also be used to approve the product with the Products.approve call.
115 },
116 &quot;approvedPermissions&quot;: &quot;A String&quot;, # Sets how new permission requests for the product are handled. &quot;allPermissions&quot; automatically approves all current and future permissions for the product. &quot;currentPermissionsOnly&quot; approves the current set of permissions for the product, but any future permissions added through updates will require manual reapproval. If not specified, only the current set of permissions will be approved.
117}
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000118
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 x__xgafv: string, V1 error format.
120 Allowed values
121 1 - v1 error format
122 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000123</pre>
124</div>
125
126<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 <code class="details" id="close">close()</code>
128 <pre>Close httplib2 connections.</pre>
129</div>
130
131<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 <code class="details" id="generateApprovalUrl">generateApprovalUrl(enterpriseId, productId, languageCode=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700133 <pre>Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product. Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000134
135Args:
136 enterpriseId: string, The ID of the enterprise. (required)
137 productId: string, The ID of the product. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700138 languageCode: string, The BCP 47 language code used for permission names and descriptions in the returned iframe, for instance &quot;en-US&quot;.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700139 x__xgafv: string, V1 error format.
140 Allowed values
141 1 - v1 error format
142 2 - v2 error format
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000143
144Returns:
145 An object of the form:
146
147 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800148 &quot;url&quot;: &quot;A String&quot;, # A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted.
149}</pre>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000150</div>
151
152<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 <code class="details" id="get">get(enterpriseId, productId, language=None, x__xgafv=None)</code>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000154 <pre>Retrieves details of a product for display to an enterprise admin.
155
156Args:
157 enterpriseId: string, The ID of the enterprise. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 productId: string, The ID of the product, e.g. &quot;app:com.google.android.gm&quot;. (required)
159 language: string, The BCP47 tag for the user&#x27;s preferred language (e.g. &quot;en-US&quot;, &quot;de&quot;).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700160 x__xgafv: string, V1 error format.
161 Allowed values
162 1 - v1 error format
163 2 - v2 error format
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000164
165Returns:
166 An object of the form:
167
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700168 { # A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800169 &quot;appTracks&quot;: [ # The tracks visible to the enterprise.
170 { # Id to name association of a track.
171 &quot;trackAlias&quot;: &quot;A String&quot;, # A modifiable name for a track. This is the visible name in the play developer console.
172 &quot;trackId&quot;: &quot;A String&quot;, # Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800173 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800174 ],
175 &quot;appVersion&quot;: [ # App versions currently available for this product.
176 { # This represents a single version of the app.
177 &quot;isProduction&quot;: True or False, # True if this version is a production APK.
178 &quot;track&quot;: &quot;A String&quot;, # Deprecated, use trackId instead.
179 &quot;trackId&quot;: [ # Track ids that the app version is published in. Replaces the track field (deprecated), but doesn&#x27;t include the production track (see isProduction instead).
180 &quot;A String&quot;,
181 ],
182 &quot;versionCode&quot;: 42, # Unique increasing identifier for the app version.
183 &quot;versionString&quot;: &quot;A String&quot;, # The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be &quot;1.4&quot;).
184 },
185 ],
186 &quot;authorName&quot;: &quot;A String&quot;, # The name of the author of the product (for example, the app developer).
187 &quot;availableCountries&quot;: [ # The countries which this app is available in.
188 &quot;A String&quot;,
189 ],
190 &quot;availableTracks&quot;: [ # Deprecated, use appTracks instead.
191 &quot;A String&quot;,
192 ],
193 &quot;category&quot;: &quot;A String&quot;, # The app category (e.g. RACING, SOCIAL, etc.)
194 &quot;contentRating&quot;: &quot;A String&quot;, # The content rating for this app.
195 &quot;description&quot;: &quot;A String&quot;, # The localized promotional description, if available.
196 &quot;detailsUrl&quot;: &quot;A String&quot;, # A link to the (consumer) Google Play details page for the product.
197 &quot;distributionChannel&quot;: &quot;A String&quot;, # How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.
198 &quot;features&quot;: [ # Noteworthy features (if any) of this product.
199 &quot;A String&quot;,
200 ],
201 &quot;iconUrl&quot;: &quot;A String&quot;, # A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.
202 &quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
203 &quot;minAndroidSdkVersion&quot;: 42, # The minimum Android SDK necessary to run the app.
204 &quot;permissions&quot;: [ # A list of permissions required by the app.
205 { # A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.
206 &quot;permissionId&quot;: &quot;A String&quot;, # An opaque string uniquely identifying the permission.
207 &quot;state&quot;: &quot;A String&quot;, # Whether the permission has been accepted or not.
208 },
209 ],
210 &quot;productId&quot;: &quot;A String&quot;, # A string of the form *app:&lt;package name&gt;*. For example, app:com.google.android.gm represents the Gmail app.
211 &quot;productPricing&quot;: &quot;A String&quot;, # Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).
212 &quot;recentChanges&quot;: &quot;A String&quot;, # A description of the recent changes made to the app.
213 &quot;requiresContainerApp&quot;: True or False, # Deprecated.
214 &quot;screenshotUrls&quot;: [ # A list of screenshot links representing the app.
215 &quot;A String&quot;,
216 ],
217 &quot;signingCertificate&quot;: { # The certificate used to sign this product.
218 &quot;certificateHashSha1&quot;: &quot;A String&quot;, # The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.)
219 &quot;certificateHashSha256&quot;: &quot;A String&quot;, # The base64 urlsafe encoded SHA2-256 hash of the certificate.
220 },
221 &quot;smallIconUrl&quot;: &quot;A String&quot;, # A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.
222 &quot;title&quot;: &quot;A String&quot;, # The name of the product.
223 &quot;workDetailsUrl&quot;: &quot;A String&quot;, # A link to the managed Google Play details page for the product, for use by an Enterprise admin.
224}</pre>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000225</div>
226
227<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 <code class="details" id="getAppRestrictionsSchema">getAppRestrictionsSchema(enterpriseId, productId, language=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700229 <pre>Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000230
231Args:
232 enterpriseId: string, The ID of the enterprise. (required)
233 productId: string, The ID of the product. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 language: string, The BCP47 tag for the user&#x27;s preferred language (e.g. &quot;en-US&quot;, &quot;de&quot;).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 x__xgafv: string, V1 error format.
236 Allowed values
237 1 - v1 error format
238 2 - v2 error format
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000239
240Returns:
241 An object of the form:
242
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700243 { # Represents the list of app restrictions available to be pre-configured for the product.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800244 &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
245 &quot;restrictions&quot;: [ # The set of restrictions that make up this schema.
246 { # A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.
247 &quot;defaultValue&quot;: { # A typed value for the restriction. # The default value of the restriction. bundle and bundleArray restrictions never have a default value.
248 &quot;type&quot;: &quot;A String&quot;, # The type of the value being provided.
249 &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type is bool.
250 &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type is integer.
251 &quot;valueMultiselect&quot;: [ # The list of string values - this will only be present if type is multiselect.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700252 &quot;A String&quot;,
253 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800254 &quot;valueString&quot;: &quot;A String&quot;, # The string value - this will be present for types string, choice and hidden.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000255 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800256 &quot;description&quot;: &quot;A String&quot;, # A longer description of the restriction, giving more detail of what it affects.
257 &quot;entry&quot;: [ # For choice or multiselect restrictions, the list of possible entries&#x27; human-readable names.
258 &quot;A String&quot;,
259 ],
260 &quot;entryValue&quot;: [ # For choice or multiselect restrictions, the list of possible entries&#x27; machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.
261 &quot;A String&quot;,
262 ],
263 &quot;key&quot;: &quot;A String&quot;, # The unique key that the product uses to identify the restriction, e.g. &quot;com.google.android.gm.fieldname&quot;.
264 &quot;nestedRestriction&quot;: [ # For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.
265 # Object with schema name: AppRestrictionsSchemaRestriction
266 ],
267 &quot;restrictionType&quot;: &quot;A String&quot;, # The type of the restriction.
268 &quot;title&quot;: &quot;A String&quot;, # The name of the restriction.
269 },
270 ],
271}</pre>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000272</div>
273
274<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275 <code class="details" id="getPermissions">getPermissions(enterpriseId, productId, x__xgafv=None)</code>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000276 <pre>Retrieves the Android app permissions required by this app.
277
278Args:
279 enterpriseId: string, The ID of the enterprise. (required)
280 productId: string, The ID of the product. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700281 x__xgafv: string, V1 error format.
282 Allowed values
283 1 - v1 error format
284 2 - v2 error format
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000285
286Returns:
287 An object of the form:
288
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700289 { # Information about the permissions required by a specific app and whether they have been accepted by the enterprise.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800290 &quot;permission&quot;: [ # The permissions required by the app.
291 { # A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.
292 &quot;permissionId&quot;: &quot;A String&quot;, # An opaque string uniquely identifying the permission.
293 &quot;state&quot;: &quot;A String&quot;, # Whether the permission has been accepted or not.
294 },
295 ],
296 &quot;productId&quot;: &quot;A String&quot;, # The ID of the app that the permissions relate to, e.g. &quot;app:com.google.android.gm&quot;.
297}</pre>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000298</div>
299
300<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800301 <code class="details" id="list">list(enterpriseId, approved=None, language=None, maxResults=None, query=None, token=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 <pre>Finds approved products that match a query, or all approved products if there is no query.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700303
304Args:
305 enterpriseId: string, The ID of the enterprise. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800306 approved: boolean, Specifies whether to search among all products (false) or among only products that have been approved (true). Only &quot;true&quot; is supported, and should be specified.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800307 language: string, The BCP47 tag for the user&#x27;s preferred language (e.g. &quot;en-US&quot;, &quot;de&quot;). Results are returned in the language best matching the preferred language.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800308 maxResults: integer, Defines how many results the list operation should return. The default number depends on the resource collection.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800309 query: string, The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800310 token: string, Defines the token of the page to return, usually taken from TokenPagination. This can only be used if token paging is enabled.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700311 x__xgafv: string, V1 error format.
312 Allowed values
313 1 - v1 error format
314 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700315
316Returns:
317 An object of the form:
318
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 {
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 &quot;pageInfo&quot;: { # Information about the current page. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. # General pagination information.
321 &quot;resultPerPage&quot;: 42, # Maximum number of results returned in one page. ! The number of results included in the API response.
322 &quot;startIndex&quot;: 42, # Index of the first result returned in the current page.
323 &quot;totalResults&quot;: 42, # Total number of results available on the backend ! The total number of results in the result set.
324 },
325 &quot;product&quot;: [ # Information about a product (e.g. an app) in the Google Play store, for display to an enterprise admin.
326 { # A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.
327 &quot;appTracks&quot;: [ # The tracks visible to the enterprise.
328 { # Id to name association of a track.
329 &quot;trackAlias&quot;: &quot;A String&quot;, # A modifiable name for a track. This is the visible name in the play developer console.
330 &quot;trackId&quot;: &quot;A String&quot;, # Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800331 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800332 ],
333 &quot;appVersion&quot;: [ # App versions currently available for this product.
334 { # This represents a single version of the app.
335 &quot;isProduction&quot;: True or False, # True if this version is a production APK.
336 &quot;track&quot;: &quot;A String&quot;, # Deprecated, use trackId instead.
337 &quot;trackId&quot;: [ # Track ids that the app version is published in. Replaces the track field (deprecated), but doesn&#x27;t include the production track (see isProduction instead).
338 &quot;A String&quot;,
339 ],
340 &quot;versionCode&quot;: 42, # Unique increasing identifier for the app version.
341 &quot;versionString&quot;: &quot;A String&quot;, # The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be &quot;1.4&quot;).
342 },
343 ],
344 &quot;authorName&quot;: &quot;A String&quot;, # The name of the author of the product (for example, the app developer).
345 &quot;availableCountries&quot;: [ # The countries which this app is available in.
346 &quot;A String&quot;,
347 ],
348 &quot;availableTracks&quot;: [ # Deprecated, use appTracks instead.
349 &quot;A String&quot;,
350 ],
351 &quot;category&quot;: &quot;A String&quot;, # The app category (e.g. RACING, SOCIAL, etc.)
352 &quot;contentRating&quot;: &quot;A String&quot;, # The content rating for this app.
353 &quot;description&quot;: &quot;A String&quot;, # The localized promotional description, if available.
354 &quot;detailsUrl&quot;: &quot;A String&quot;, # A link to the (consumer) Google Play details page for the product.
355 &quot;distributionChannel&quot;: &quot;A String&quot;, # How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.
356 &quot;features&quot;: [ # Noteworthy features (if any) of this product.
357 &quot;A String&quot;,
358 ],
359 &quot;iconUrl&quot;: &quot;A String&quot;, # A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.
360 &quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
361 &quot;minAndroidSdkVersion&quot;: 42, # The minimum Android SDK necessary to run the app.
362 &quot;permissions&quot;: [ # A list of permissions required by the app.
363 { # A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.
364 &quot;permissionId&quot;: &quot;A String&quot;, # An opaque string uniquely identifying the permission.
365 &quot;state&quot;: &quot;A String&quot;, # Whether the permission has been accepted or not.
366 },
367 ],
368 &quot;productId&quot;: &quot;A String&quot;, # A string of the form *app:&lt;package name&gt;*. For example, app:com.google.android.gm represents the Gmail app.
369 &quot;productPricing&quot;: &quot;A String&quot;, # Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).
370 &quot;recentChanges&quot;: &quot;A String&quot;, # A description of the recent changes made to the app.
371 &quot;requiresContainerApp&quot;: True or False, # Deprecated.
372 &quot;screenshotUrls&quot;: [ # A list of screenshot links representing the app.
373 &quot;A String&quot;,
374 ],
375 &quot;signingCertificate&quot;: { # The certificate used to sign this product.
376 &quot;certificateHashSha1&quot;: &quot;A String&quot;, # The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.)
377 &quot;certificateHashSha256&quot;: &quot;A String&quot;, # The base64 urlsafe encoded SHA2-256 hash of the certificate.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700378 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800379 &quot;smallIconUrl&quot;: &quot;A String&quot;, # A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.
380 &quot;title&quot;: &quot;A String&quot;, # The name of the product.
381 &quot;workDetailsUrl&quot;: &quot;A String&quot;, # A link to the managed Google Play details page for the product, for use by an Enterprise admin.
382 },
383 ],
384 &quot;tokenPagination&quot;: { # Pagination information returned by a List operation when token pagination is enabled. List operations that supports paging return only one &quot;page&quot; of results. This protocol buffer message describes the page that has been returned. When using token pagination, clients should use the next/previous token to get another page of the result. The presence or absence of next/previous token indicates whether a next/previous page is available and provides a mean of accessing this page. ListRequest.page_token should be set to either next_page_token or previous_page_token to access another page. # Pagination information for token pagination.
385 &quot;nextPageToken&quot;: &quot;A String&quot;, # Tokens to pass to the standard list field &#x27;page_token&#x27;. Whenever available, tokens are preferred over manipulating start_index.
386 &quot;previousPageToken&quot;: &quot;A String&quot;,
387 },
388}</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700389</div>
390
391<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700392 <code class="details" id="unapprove">unapprove(enterpriseId, productId, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700393 <pre>Unapproves the specified product (and the relevant app permissions, if any)
394
395Args:
396 enterpriseId: string, The ID of the enterprise. (required)
397 productId: string, The ID of the product. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700398 x__xgafv: string, V1 error format.
399 Allowed values
400 1 - v1 error format
401 2 - v2 error format
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700402</pre>
403</div>
404
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000405</body></html>