class Google::Apis::AndroidmanagementV1::SystemUpdate

Configuration for managing system updates

Attributes

end_minutes[RW]

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. Corresponds to the JSON property `endMinutes` @return [Fixnum]

freeze_periods[RW]

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. Corresponds to the JSON property `freezePeriods` @return [Array<Google::Apis::AndroidmanagementV1::FreezePeriod>]

start_minutes[RW]

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. Corresponds to the JSON property `startMinutes` @return [Fixnum]

type[RW]

The type of system update to configure. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3759
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 3764
def update!(**args)
  @end_minutes = args[:end_minutes] if args.key?(:end_minutes)
  @freeze_periods = args[:freeze_periods] if args.key?(:freeze_periods)
  @start_minutes = args[:start_minutes] if args.key?(:start_minutes)
  @type = args[:type] if args.key?(:type)
end