target.apidocs.com.google.api.services.directory.model.OsUpdateStatus.html Maven / Gradle / Ivy
OsUpdateStatus (Admin SDK API directory_v1-rev20220802-2.0.0)
com.google.api.services.directory.model
Class OsUpdateStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.OsUpdateStatus
-
public final class OsUpdateStatus
extends GenericJson
Contains information regarding the current OS update status.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
OsUpdateStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
OsUpdateStatus
clone()
String
getRebootTime()
Date and time of the last reboot.
String
getState()
The update state of an OS update.
String
getTargetKioskAppVersion()
New required platform version from the pending updated kiosk app.
String
getTargetOsVersion()
New platform version of the OS image being downloaded and applied.
String
getUpdateCheckTime()
Date and time of the last update check.
String
getUpdateTime()
Date and time of the last successful OS update.
OsUpdateStatus
set(String fieldName,
Object value)
OsUpdateStatus
setRebootTime(String rebootTime)
Date and time of the last reboot.
OsUpdateStatus
setState(String state)
The update state of an OS update.
OsUpdateStatus
setTargetKioskAppVersion(String targetKioskAppVersion)
New required platform version from the pending updated kiosk app.
OsUpdateStatus
setTargetOsVersion(String targetOsVersion)
New platform version of the OS image being downloaded and applied.
OsUpdateStatus
setUpdateCheckTime(String updateCheckTime)
Date and time of the last update check.
OsUpdateStatus
setUpdateTime(String updateTime)
Date and time of the last successful OS update.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getRebootTime
public String getRebootTime()
Date and time of the last reboot.
- Returns:
- value or
null
for none
-
setRebootTime
public OsUpdateStatus setRebootTime(String rebootTime)
Date and time of the last reboot.
- Parameters:
rebootTime
- rebootTime or null
for none
-
getState
public String getState()
The update state of an OS update.
- Returns:
- value or
null
for none
-
setState
public OsUpdateStatus setState(String state)
The update state of an OS update.
- Parameters:
state
- state or null
for none
-
getTargetKioskAppVersion
public String getTargetKioskAppVersion()
New required platform version from the pending updated kiosk app.
- Returns:
- value or
null
for none
-
setTargetKioskAppVersion
public OsUpdateStatus setTargetKioskAppVersion(String targetKioskAppVersion)
New required platform version from the pending updated kiosk app.
- Parameters:
targetKioskAppVersion
- targetKioskAppVersion or null
for none
-
getTargetOsVersion
public String getTargetOsVersion()
New platform version of the OS image being downloaded and applied. It is only set when update
status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or UPDATE_STATUS_NEED_REBOOT. Note this could be a
dummy "0.0.0.0" for UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is
restarted without a reboot.
- Returns:
- value or
null
for none
-
setTargetOsVersion
public OsUpdateStatus setTargetOsVersion(String targetOsVersion)
New platform version of the OS image being downloaded and applied. It is only set when update
status is UPDATE_STATUS_DOWNLOAD_IN_PROGRESS or UPDATE_STATUS_NEED_REBOOT. Note this could be a
dummy "0.0.0.0" for UPDATE_STATUS_NEED_REBOOT for some edge cases, e.g. update engine is
restarted without a reboot.
- Parameters:
targetOsVersion
- targetOsVersion or null
for none
-
getUpdateCheckTime
public String getUpdateCheckTime()
Date and time of the last update check.
- Returns:
- value or
null
for none
-
setUpdateCheckTime
public OsUpdateStatus setUpdateCheckTime(String updateCheckTime)
Date and time of the last update check.
- Parameters:
updateCheckTime
- updateCheckTime or null
for none
-
getUpdateTime
public String getUpdateTime()
Date and time of the last successful OS update.
- Returns:
- value or
null
for none
-
setUpdateTime
public OsUpdateStatus setUpdateTime(String updateTime)
Date and time of the last successful OS update.
- Parameters:
updateTime
- updateTime or null
for none
-
set
public OsUpdateStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public OsUpdateStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.