Class: Google::Apis::AndroidmanagementV1::SystemUpdate
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SystemUpdate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
Configuration for managing system updates
Instance Attribute Summary collapse
-
#end_minutes ⇒ Fixnum
If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device local time.
-
#start_minutes ⇒ Fixnum
If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in device local time.
-
#type ⇒ String
The type of system update to configure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SystemUpdate
constructor
A new instance of SystemUpdate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SystemUpdate
Returns a new instance of SystemUpdate
2342 2343 2344 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2342 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_minutes ⇒ Fixnum
If the type is WINDOWED, the end of the maintenance window, measured as the
number of minutes after midnight in device 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
2328 2329 2330 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2328 def end_minutes @end_minutes end |
#start_minutes ⇒ Fixnum
If the type is WINDOWED, the start of the maintenance window, measured as the
number of minutes after midnight in device local time. This value must be
between 0 and 1439, inclusive.
Corresponds to the JSON property startMinutes
2335 2336 2337 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2335 def start_minutes @start_minutes end |
#type ⇒ String
The type of system update to configure.
Corresponds to the JSON property type
2340 2341 2342 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2340 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2347 2348 2349 2350 2351 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2347 def update!(**args) @end_minutes = args[:end_minutes] if args.key?(:end_minutes) @start_minutes = args[:start_minutes] if args.key?(:start_minutes) @type = args[:type] if args.key?(:type) end |