public final class DevicePolicy
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DevicePolicy() |
| Modifier and Type | Method and Description |
|---|---|
DevicePolicy |
clone() |
List<String> |
getAllowedDeviceManagementLevels()
Allowed device management levels, an empty list allows all management levels.
|
List<String> |
getAllowedEncryptionStatuses()
Allowed encryptions statuses, an empty list allows all statuses.
|
List<OsConstraint> |
getOsConstraints()
Allowed OS versions, an empty list allows all types and all versions.
|
Boolean |
getRequireAdminApproval()
Whether the device needs to be approved by the customer admin.
|
Boolean |
getRequireCorpOwned()
Whether the device needs to be corp owned.
|
Boolean |
getRequireScreenlock()
Whether or not screenlock is required for the DevicePolicy to be true.
|
DevicePolicy |
set(String fieldName,
Object value) |
DevicePolicy |
setAllowedDeviceManagementLevels(List<String> allowedDeviceManagementLevels)
Allowed device management levels, an empty list allows all management levels.
|
DevicePolicy |
setAllowedEncryptionStatuses(List<String> allowedEncryptionStatuses)
Allowed encryptions statuses, an empty list allows all statuses.
|
DevicePolicy |
setOsConstraints(List<OsConstraint> osConstraints)
Allowed OS versions, an empty list allows all types and all versions.
|
DevicePolicy |
setRequireAdminApproval(Boolean requireAdminApproval)
Whether the device needs to be approved by the customer admin.
|
DevicePolicy |
setRequireCorpOwned(Boolean requireCorpOwned)
Whether the device needs to be corp owned.
|
DevicePolicy |
setRequireScreenlock(Boolean requireScreenlock)
Whether or not screenlock is required for the DevicePolicy to be true.
|
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 List<String> getAllowedDeviceManagementLevels()
null for nonepublic DevicePolicy setAllowedDeviceManagementLevels(List<String> allowedDeviceManagementLevels)
allowedDeviceManagementLevels - allowedDeviceManagementLevels or null for nonepublic List<String> getAllowedEncryptionStatuses()
null for nonepublic DevicePolicy setAllowedEncryptionStatuses(List<String> allowedEncryptionStatuses)
allowedEncryptionStatuses - allowedEncryptionStatuses or null for nonepublic List<OsConstraint> getOsConstraints()
null for nonepublic DevicePolicy setOsConstraints(List<OsConstraint> osConstraints)
osConstraints - osConstraints or null for nonepublic Boolean getRequireAdminApproval()
null for nonepublic DevicePolicy setRequireAdminApproval(Boolean requireAdminApproval)
requireAdminApproval - requireAdminApproval or null for nonepublic Boolean getRequireCorpOwned()
null for nonepublic DevicePolicy setRequireCorpOwned(Boolean requireCorpOwned)
requireCorpOwned - requireCorpOwned or null for nonepublic Boolean getRequireScreenlock()
null for nonepublic DevicePolicy setRequireScreenlock(Boolean requireScreenlock)
requireScreenlock - requireScreenlock or null for nonepublic DevicePolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DevicePolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.