Device Policy Response
data class DevicePolicyResponse(val allowedDeviceManagementLevels: List<String>, val allowedEncryptionStatuses: List<String>, val osConstraints: List<OsConstraintResponse>, val requireAdminApproval: Boolean, val requireCorpOwned: Boolean, val requireScreenlock: Boolean)
DevicePolicy
specifies device specific restrictions necessary to acquire a given access level. A DevicePolicy
specifies requirements for requests from devices to be granted access levels, it does not do any enforcement on the device. DevicePolicy
acts as an AND over all specified fields, and each repeated field is an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests originating from encrypted Linux desktops and encrypted Windows desktops.
Constructors
Link copied to clipboard
fun DevicePolicyResponse(allowedDeviceManagementLevels: List<String>, allowedEncryptionStatuses: List<String>, osConstraints: List<OsConstraintResponse>, requireAdminApproval: Boolean, requireCorpOwned: Boolean, requireScreenlock: Boolean)