Class SystemUpdate
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.
Implements
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class SystemUpdate : IDirectResponseSchema
Properties
AllowedDaysWithoutUpdate
If this is greater than zero, then this is the number of days after a pending update becoming available that a device can remain compliant, without taking the update. Has no effect otherwise.
Declaration
[JsonProperty("allowedDaysWithoutUpdate")]
public virtual int? AllowedDaysWithoutUpdate { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndMinutes
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.
Declaration
[JsonProperty("endMinutes")]
public virtual int? EndMinutes { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
FreezePeriods
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.
Declaration
[JsonProperty("freezePeriods")]
public virtual IList<FreezePeriod> FreezePeriods { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<FreezePeriod> |
StartMinutes
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.
Declaration
[JsonProperty("startMinutes")]
public virtual int? StartMinutes { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Type
The type of system update to configure.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |