pub struct SystemUpdate {
pub end_minutes: Option<i32>,
pub freeze_periods: Option<Vec<FreezePeriod>>,
pub start_minutes: Option<i32>,
pub type_: Option<String>,
}Expand description
Configuration for managing system updatesNote: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_minutes: Option<i32>If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device’s local time. This value must be between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time.
freeze_periods: Option<Vec<FreezePeriod>>An annually repeating time period in which over-the-air (OTA) system updates are postponed to freeze the OS version running on a device. To prevent freezing the device indefinitely, each freeze period must be separated by at least 60 days.
start_minutes: Option<i32>If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in the device’s local time. This value must be between 0 and 1439, inclusive.
type_: Option<String>The type of system update to configure.
Trait Implementations§
Source§impl Clone for SystemUpdate
impl Clone for SystemUpdate
Source§fn clone(&self) -> SystemUpdate
fn clone(&self) -> SystemUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more