Class: Google::Apis::AndroidmanagementV1::SystemUpdateInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SystemUpdateInfo
- 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
Information about a potential pending system update.
Instance Attribute Summary collapse
-
#update_received_time ⇒ String
The time when the update was first available.
-
#update_status ⇒ String
The status of an update: whether an update exists and what type it is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SystemUpdateInfo
constructor
A new instance of SystemUpdateInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SystemUpdateInfo
Returns a new instance of SystemUpdateInfo.
3517 3518 3519 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_received_time ⇒ String
The time when the update was first available. A zero value indicates that this
field is not set. This field is set only if an update is available (that is,
updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE).
Corresponds to the JSON property updateReceivedTime
3510 3511 3512 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3510 def update_received_time @update_received_time end |
#update_status ⇒ String
The status of an update: whether an update exists and what type it is.
Corresponds to the JSON property updateStatus
3515 3516 3517 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3515 def update_status @update_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3522 3523 3524 3525 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3522 def update!(**args) @update_received_time = args[:update_received_time] if args.key?(:update_received_time) @update_status = args[:update_status] if args.key?(:update_status) end |