Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus

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

Overview

Contains information regarding the current OS update status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1OsUpdateStatus

Returns a new instance of GoogleChromeManagementV1OsUpdateStatus.



1375
1376
1377
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1375

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

Instance Attribute Details

#last_reboot_timeString

Output only. Timestamp of the last reboot. Corresponds to the JSON property lastRebootTime

Returns:

  • (String)


1344
1345
1346
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1344

def last_reboot_time
  @last_reboot_time
end

#last_update_check_timeString

Output only. Timestamp of the last update check. Corresponds to the JSON property lastUpdateCheckTime

Returns:

  • (String)


1349
1350
1351
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1349

def last_update_check_time
  @last_update_check_time
end

#last_update_timeString

Output only. Timestamp of the last successful update. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


1354
1355
1356
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1354

def last_update_time
  @last_update_time
end

#new_platform_versionString

Output only. New platform version of the os image being downloaded and applied. It is only set when update status is OS_IMAGE_DOWNLOAD_IN_PROGRESS or OS_UPDATE_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. update engine is restarted without a reboot. Corresponds to the JSON property newPlatformVersion

Returns:

  • (String)


1363
1364
1365
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1363

def new_platform_version
  @new_platform_version
end

#new_requested_platform_versionString

Output only. New requested platform version from the pending updated kiosk app. Corresponds to the JSON property newRequestedPlatformVersion

Returns:

  • (String)


1368
1369
1370
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1368

def new_requested_platform_version
  @new_requested_platform_version
end

#update_stateString

Output only. Current state of the os update. Corresponds to the JSON property updateState

Returns:

  • (String)


1373
1374
1375
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1373

def update_state
  @update_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1380
1381
1382
1383
1384
1385
1386
1387
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1380

def update!(**args)
  @last_reboot_time = args[:last_reboot_time] if args.key?(:last_reboot_time)
  @last_update_check_time = args[:last_update_check_time] if args.key?(:last_update_check_time)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @new_platform_version = args[:new_platform_version] if args.key?(:new_platform_version)
  @new_requested_platform_version = args[:new_requested_platform_version] if args.key?(:new_requested_platform_version)
  @update_state = args[:update_state] if args.key?(:update_state)
end