Struct google_androidenterprise1::Product
[−]
[src]
pub struct Product { pub small_icon_url: Option<String>, pub kind: Option<String>, pub distribution_channel: Option<String>, pub title: Option<String>, pub work_details_url: Option<String>, pub app_version: Option<Vec<AppVersion>>, pub product_pricing: Option<String>, pub icon_url: Option<String>, pub author_name: Option<String>, pub requires_container_app: Option<bool>, pub details_url: Option<String>, pub product_id: Option<String>, }
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.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- update permissions products (none)
- get permissions products (none)
- get products (response)
- approve products (none)
- get app restrictions schema products (none)
- list products (none)
- unapprove products (none)
- generate approval url products (none)
Fields
small_icon_url: Option<String>
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.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product".
distribution_channel: Option<String>
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.
title: Option<String>
The name of the product.
work_details_url: Option<String>
A link to the Google Play for Work details page for the product, for use by an Enterprise administrator.
app_version: Option<Vec<AppVersion>>
App versions currently available for this product. The returned list contains only public versions. Alpha and beta versions are not included.
product_pricing: Option<String>
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).
icon_url: Option<String>
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.
The name of the author of the product (e.g. the app developer).
requires_container_app: Option<bool>
Whether this app can only be installed on devices using the Android for Work container app.
details_url: Option<String>
A link to the (consumer) Google Play details page for the product.
product_id: Option<String>
A string of the form app:
Trait Implementations
impl Debug for Product
[src]
impl Clone for Product
[src]
fn clone(&self) -> Product
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more