Struct google_androidenterprise1::ProductVisibility[][src]

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

A product to be made visible to a user.

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 user. The track available to the user 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"} the user will be able to install the app and they will get the beta version of the app. 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 product ID to make visible to the user. Required for each item in the productVisibility list.

Trait Implementations

impl Default for ProductVisibility
[src]

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

impl Clone for ProductVisibility
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProductVisibility
[src]

Formats the value using the given formatter. Read more

impl Part for ProductVisibility
[src]

Auto Trait Implementations