View Source GoogleApi.AndroidManagement.V1.Model.SystemUpdate (google_api_android_management v0.57.0)

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.

Attributes

  • endMinutes (type: integer(), default: nil) - 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 (type: list(GoogleApi.AndroidManagement.V1.Model.FreezePeriod.t), default: nil) - 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 (type: integer(), default: nil) - 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 (type: String.t, default: nil) - The type of system update to configure.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AndroidManagement.V1.Model.SystemUpdate{
  endMinutes: integer() | nil,
  freezePeriods: [GoogleApi.AndroidManagement.V1.Model.FreezePeriod.t()] | nil,
  startMinutes: integer() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.