Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SystemUpdate

import type { SystemUpdate } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

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.

interface SystemUpdate {
endMinutes?: number;
freezePeriods?: FreezePeriod[];
startMinutes?: number;
type?:
| "SYSTEM_UPDATE_TYPE_UNSPECIFIED"
| "AUTOMATIC"
| "WINDOWED"
| "POSTPONE";
}

§Properties

§
endMinutes?: number
[src]

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.

§
freezePeriods?: FreezePeriod[]
[src]

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.

§
startMinutes?: number
[src]

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?: "SYSTEM_UPDATE_TYPE_UNSPECIFIED" | "AUTOMATIC" | "WINDOWED" | "POSTPONE"
[src]

The type of system update to configure.