Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus
- 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. * This field is telemetry information and this will change over time as the device is utilized.
- Data for this field is controlled via policy: ReportDeviceOsUpdateStatus * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A
Instance Attribute Summary collapse
-
#last_reboot_time ⇒ String
Output only.
-
#last_update_check_time ⇒ String
Output only.
-
#last_update_time ⇒ String
Output only.
-
#new_platform_version ⇒ String
Output only.
-
#new_requested_platform_version ⇒ String
Output only.
-
#update_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1OsUpdateStatus
constructor
A new instance of GoogleChromeManagementV1OsUpdateStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1OsUpdateStatus
Returns a new instance of GoogleChromeManagementV1OsUpdateStatus.
1943 1944 1945 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_reboot_time ⇒ String
Output only. Timestamp of the last reboot.
Corresponds to the JSON property lastRebootTime
1912 1913 1914 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1912 def last_reboot_time @last_reboot_time end |
#last_update_check_time ⇒ String
Output only. Timestamp of the last update check.
Corresponds to the JSON property lastUpdateCheckTime
1917 1918 1919 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1917 def last_update_check_time @last_update_check_time end |
#last_update_time ⇒ String
Output only. Timestamp of the last successful update.
Corresponds to the JSON property lastUpdateTime
1922 1923 1924 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1922 def last_update_time @last_update_time end |
#new_platform_version ⇒ String
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
1931 1932 1933 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1931 def new_platform_version @new_platform_version end |
#new_requested_platform_version ⇒ String
Output only. New requested platform version from the pending updated kiosk app.
Corresponds to the JSON property newRequestedPlatformVersion
1936 1937 1938 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1936 def new_requested_platform_version @new_requested_platform_version end |
#update_state ⇒ String
Output only. Current state of the os update.
Corresponds to the JSON property updateState
1941 1942 1943 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1941 def update_state @update_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1948 1949 1950 1951 1952 1953 1954 1955 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1948 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 |