| Package | Description |
|---|---|
| com.google.api.services.accesscontextmanager.v1beta.model |
| Modifier and Type | Method and Description |
|---|---|
DevicePolicy |
DevicePolicy.clone() |
DevicePolicy |
Condition.getDevicePolicy()
Device specific restrictions, all restrictions must hold for the Condition to be true.
|
DevicePolicy |
DevicePolicy.set(String fieldName,
Object value) |
DevicePolicy |
DevicePolicy.setAllowedDeviceManagementLevels(List<String> allowedDeviceManagementLevels)
Allowed device management levels, an empty list allows all management levels.
|
DevicePolicy |
DevicePolicy.setAllowedEncryptionStatuses(List<String> allowedEncryptionStatuses)
Allowed encryptions statuses, an empty list allows all statuses.
|
DevicePolicy |
DevicePolicy.setOsConstraints(List<OsConstraint> osConstraints)
Allowed OS versions, an empty list allows all types and all versions.
|
DevicePolicy |
DevicePolicy.setRequireAdminApproval(Boolean requireAdminApproval)
Whether the device needs to be approved by the customer admin.
|
DevicePolicy |
DevicePolicy.setRequireCorpOwned(Boolean requireCorpOwned)
Whether the device needs to be corp owned.
|
DevicePolicy |
DevicePolicy.setRequireScreenlock(Boolean requireScreenlock)
Whether or not screenlock is required for the DevicePolicy to be true.
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.setDevicePolicy(DevicePolicy devicePolicy)
Device specific restrictions, all restrictions must hold for the Condition to be true.
|
Copyright © 2011–2022 Google. All rights reserved.