[][src]Struct google_androidenterprise1::Product

pub struct Product {
    pub small_icon_url: Option<String>,
    pub available_countries: Option<Vec<String>>,
    pub description: Option<String>,
    pub recent_changes: Option<String>,
    pub work_details_url: Option<String>,
    pub app_version: Option<Vec<AppVersion>>,
    pub screenshot_urls: Option<Vec<String>>,
    pub icon_url: Option<String>,
    pub details_url: Option<String>,
    pub product_pricing: Option<String>,
    pub permissions: Option<Vec<ProductPermission>>,
    pub category: Option<String>,
    pub kind: Option<String>,
    pub distribution_channel: Option<String>,
    pub title: Option<String>,
    pub min_android_sdk_version: Option<i32>,
    pub content_rating: Option<String>,
    pub app_tracks: Option<Vec<TrackInfo>>,
    pub available_tracks: Option<Vec<String>>,
    pub author_name: Option<String>,
    pub last_updated_timestamp_millis: Option<String>,
    pub signing_certificate: Option<ProductSigningCertificate>,
    pub requires_container_app: Option<bool>,
    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).

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.

available_countries: Option<Vec<String>>

The countries which this app is available in.

description: Option<String>

The localized promotional description, if available.

recent_changes: Option<String>

A description of the recent changes made to the app.

work_details_url: Option<String>

A link to the managed Google Play details page for the product, for use by an Enterprise admin.

app_version: Option<Vec<AppVersion>>

App versions currently available for this product.

screenshot_urls: Option<Vec<String>>

A list of screenshot links representing the app.

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.

details_url: Option<String>

A link to the (consumer) Google Play details page for the product.

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).

permissions: Option<Vec<ProductPermission>>

A list of permissions required by the app.

category: Option<String>

The app category (e.g. RACING, SOCIAL, etc.)

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.

min_android_sdk_version: Option<i32>

The minimum Android SDK necessary to run the app.

content_rating: Option<String>

The content rating for this app.

app_tracks: Option<Vec<TrackInfo>>

The tracks visible to the enterprise.

available_tracks: Option<Vec<String>>

Deprecated, use appTracks instead.

author_name: Option<String>

The name of the author of the product (for example, the app developer).

last_updated_timestamp_millis: Option<String>

The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.

signing_certificate: Option<ProductSigningCertificate>

The certificate used to sign this product.

requires_container_app: Option<bool>

Deprecated.

product_id: Option<String>

A string of the form app:. For example, app:com.google.android.gm represents the Gmail app.

Trait Implementations

impl Resource for Product[src]

impl ResponseResult for Product[src]

impl Default for Product[src]

impl Clone for Product[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Product[src]

impl Serialize for Product[src]

impl<'de> Deserialize<'de> for Product[src]

Auto Trait Implementations

impl Send for Product

impl Unpin for Product

impl Sync for Product

impl UnwindSafe for Product

impl RefUnwindSafe for Product

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]