GoogleApi.AndroidManagement.V1.Model.FreezePeriod (google_api_android_management v0.30.0) View Source

A system freeze period. When a device’s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won’t be installed. When a device is outside the freeze period, normal update behavior applies. Leap years are ignored in freeze period calculations, in particular: If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. When a device’s system clock reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.

Attributes

  • endDate (type: GoogleApi.AndroidManagement.V1.Model.Date.t, default: nil) - The end date (inclusive) of the freeze period. Must be no later than 90 days from the start date. If the end date is earlier than the start date, the freeze period is considered wrapping year-end. Note: year must not be set. For example, {"month": 1,"date": 30}.
  • startDate (type: GoogleApi.AndroidManagement.V1.Model.Date.t, default: nil) - The start date (inclusive) of the freeze period. Note: year must not be set. For example, {"month": 1,"date": 30}.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidManagement.V1.Model.FreezePeriod{
  endDate: GoogleApi.AndroidManagement.V1.Model.Date.t(),
  startDate: GoogleApi.AndroidManagement.V1.Model.Date.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.