public final class OsConstraint extends GenericJson
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 Access Context Manager API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OsConstraint() |
| Modifier and Type | Method and Description |
|---|---|
OsConstraint |
clone() |
String |
getMinimumVersion()
The minimum allowed OS version.
|
String |
getOsType()
Required.
|
Boolean |
getRequireVerifiedChromeOs()
Only allows requests from devices with a verified Chrome OS.
|
OsConstraint |
set(String fieldName,
Object value) |
OsConstraint |
setMinimumVersion(String minimumVersion)
The minimum allowed OS version.
|
OsConstraint |
setOsType(String osType)
Required.
|
OsConstraint |
setRequireVerifiedChromeOs(Boolean requireVerifiedChromeOs)
Only allows requests from devices with a verified Chrome OS.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getMinimumVersion()
null for nonepublic OsConstraint setMinimumVersion(String minimumVersion)
minimumVersion - minimumVersion or null for nonepublic String getOsType()
null for nonepublic OsConstraint setOsType(String osType)
osType - osType or null for nonepublic Boolean getRequireVerifiedChromeOs()
null for nonepublic OsConstraint setRequireVerifiedChromeOs(Boolean requireVerifiedChromeOs)
requireVerifiedChromeOs - requireVerifiedChromeOs or null for nonepublic OsConstraint set(String fieldName, Object value)
set in class GenericJsonpublic OsConstraint clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.