Struct google_androidenterprise1::Policy[][src]

pub struct Policy {
    pub auto_update_policy: Option<String>,
    pub maintenance_window: Option<MaintenanceWindow>,
    pub product_policy: Option<Vec<ProductPolicy>>,
    pub product_availability_policy: Option<String>,
}

The device policy for a given managed device.

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

Fields

The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.

The maintenance window defining when apps running in the foreground should be updated.

The list of product policies.

The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.

Trait Implementations

impl Default for Policy
[src]

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

impl Clone for Policy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Policy
[src]

Formats the value using the given formatter. Read more

impl Part for Policy
[src]

Auto Trait Implementations

impl Send for Policy

impl Sync for Policy