Class: Google::Apis::AndroidmanagementV1::SystemUpdateInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb

Overview

Information about a potential pending system update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SystemUpdateInfo

Returns a new instance of SystemUpdateInfo.



5437
5438
5439
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5437

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#update_received_timeString

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

Returns:

  • (String)


5430
5431
5432
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5430

def update_received_time
  @update_received_time
end

#update_statusString

The status of an update: whether an update exists and what type it is. Corresponds to the JSON property updateStatus

Returns:

  • (String)


5435
5436
5437
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5435

def update_status
  @update_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5442
5443
5444
5445
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5442

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