Struct google_androidenterprise1::ProductPolicy[][src]

pub struct ProductPolicy {
    pub tracks: Option<Vec<String>>,
    pub product_id: Option<String>,
}

The policy for a product.

This type is not used in any activity, and only used as part of another schema.

Fields

Grants visibility to the specified track(s) of the product to the device. The track available to the device is based on the following order of preference: alpha, beta, production. For example, if an app has a prod version, a beta version and an alpha version and the enterprise has been granted visibility to both the alpha and beta tracks, if tracks is {"beta", "production"} then the beta version of the app is made available to the device. If there are no app versions in the specified track adding the "alpha" and "beta" values to the list of tracks will have no effect. Note that the enterprise requires access to alpha and/or beta tracks before users can be granted visibility to apps in those tracks.

The allowed sets are: {} (considered equivalent to {"production"}) {"production"} {"beta", "production"} {"alpha", "beta", "production"} The order of elements is not relevant. Any other set of tracks will be rejected with an error.

The ID of the product. For example, "app:com.google.android.gm".

Trait Implementations

impl Default for ProductPolicy
[src]

Returns the "default value" for a type. Read more

impl Clone for ProductPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProductPolicy
[src]

Formats the value using the given formatter. Read more

impl Part for ProductPolicy
[src]

Auto Trait Implementations