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
auto_update_policy: Option<String>
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.
maintenance_window: Option<MaintenanceWindow>
The maintenance window defining when apps running in the foreground should be updated.
product_policy: Option<Vec<ProductPolicy>>
The list of product policies.
product_availability_policy: Option<String>
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]
impl Default for Policy
impl Clone for Policy
[src]
impl Clone for Policy
fn clone(&self) -> Policy
[src]
fn clone(&self) -> Policy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Policy
[src]
impl Debug for Policy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Policy
[src]
impl Part for Policy