pub struct Product {
Show 26 fields pub app_restrictions_schema: Option<AppRestrictionsSchema>, pub app_tracks: Option<Vec<TrackInfo>>, pub app_version: Option<Vec<AppVersion>>, pub author_name: Option<String>, pub available_countries: Option<Vec<String>>, pub available_tracks: Option<Vec<String>>, pub category: Option<String>, pub content_rating: Option<String>, pub description: Option<String>, pub details_url: Option<String>, pub distribution_channel: Option<String>, pub features: Option<Vec<String>>, pub full_description: Option<String>, pub icon_url: Option<String>, pub last_updated_timestamp_millis: Option<i64>, pub min_android_sdk_version: Option<i32>, pub permissions: Option<Vec<ProductPermission>>, pub product_id: Option<String>, pub product_pricing: Option<String>, pub recent_changes: Option<String>, pub requires_container_app: Option<bool>, pub screenshot_urls: Option<Vec<String>>, pub signing_certificate: Option<ProductSigningCertificate>, pub small_icon_url: Option<String>, pub title: Option<String>, pub work_details_url: Option<String>,
}
Expand description

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§

§app_restrictions_schema: Option<AppRestrictionsSchema>

The app restriction schema

§app_tracks: Option<Vec<TrackInfo>>

The tracks visible to the enterprise.

§app_version: Option<Vec<AppVersion>>

App versions currently available for this product.

§author_name: Option<String>

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

§available_countries: Option<Vec<String>>

The countries which this app is available in.

§available_tracks: Option<Vec<String>>

Deprecated, use appTracks instead.

§category: Option<String>

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

§content_rating: Option<String>

The content rating for this app.

§description: Option<String>

The localized promotional description, if available.

§details_url: Option<String>

A link to the (consumer) Google Play details page for the 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.

§features: Option<Vec<String>>

Noteworthy features (if any) of this product.

§full_description: Option<String>

The localized full app store description, if available.

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

§last_updated_timestamp_millis: Option<i64>

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

§min_android_sdk_version: Option<i32>

The minimum Android SDK necessary to run the app.

§permissions: Option<Vec<ProductPermission>>

A list of permissions required by the app.

§product_id: Option<String>

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

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

§recent_changes: Option<String>

A description of the recent changes made to the app.

§requires_container_app: Option<bool>

Deprecated.

§screenshot_urls: Option<Vec<String>>

A list of screenshot links representing the app.

§signing_certificate: Option<ProductSigningCertificate>

The certificate used to sign this product.

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

§title: Option<String>

The name of the product.

§work_details_url: Option<String>

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

Trait Implementations§

source§

impl Clone for Product

source§

fn clone(&self) -> Product

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Product

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Product

source§

fn default() -> Product

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Product

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Product

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Resource for Product

source§

impl ResponseResult for Product

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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