Skip to main content

products

Overview

Nameproducts
TypeResource
Idgoogledevelopers.androidenterprise.products

Fields

NameDatatypeDescription
descriptionstringThe localized promotional description, if available.
appRestrictionsSchemaobjectRepresents the list of app restrictions available to be pre-configured for the product.
categorystringThe app category (e.g. RACING, SOCIAL, etc.)
authorNamestringThe name of the author of the product (for example, the app developer).
lastUpdatedTimestampMillisstringThe approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
permissionsarrayA list of permissions required by the app.
recentChangesstringA description of the recent changes made to the app.
distributionChannelstringHow 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.
availableTracksarrayDeprecated, use appTracks instead.
productPricingstringWhether 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).
availableCountriesarrayThe countries which this app is available in.
contentRatingstringThe content rating for this app.
signingCertificateobject
requiresContainerAppbooleanDeprecated.
productIdstringA string of the form app:<package name>. For example, app:com.google.android.gm represents the Gmail app.
featuresarrayNoteworthy features (if any) of this product.
minAndroidSdkVersionintegerThe minimum Android SDK necessary to run the app.
smallIconUrlstringA 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.
appTracksarrayThe tracks visible to the enterprise.
appVersionarrayApp versions currently available for this product.
workDetailsUrlstringA link to the managed Google Play details page for the product, for use by an Enterprise admin.
screenshotUrlsarrayA list of screenshot links representing the app.
detailsUrlstringA link to the (consumer) Google Play details page for the product.
titlestringThe name of the product.
iconUrlstringA 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.

Methods

NameAccessible byRequired ParamsDescription
getSELECTenterpriseId, productIdRetrieves details of a product for display to an enterprise admin.
listSELECTenterpriseIdFinds approved products that match a query, or all approved products if there is no query. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
approveEXECenterpriseId, productIdApproves 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. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
generateApprovalUrlEXECenterpriseId, productIdGenerates 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. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
unapproveEXECenterpriseId, productIdUnapproves the specified product (and the relevant app permissions, if any) Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.