OsConstraintResponse

data class OsConstraintResponse(val minimumVersion: String, val osType: String, val requireVerifiedChromeOs: Boolean)

A restriction on the OS type and version of devices making requests.

Constructors

Link copied to clipboard
fun OsConstraintResponse(minimumVersion: String, osType: String, requireVerifiedChromeOs: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The minimum allowed OS version. If not set, any version of this OS satisfies the constraint. Format: "major.minor.patch". Examples: "10.5.301", "9.2.1".

Link copied to clipboard

The allowed OS type.

Link copied to clipboard

Only allows requests from devices with a verified Chrome OS. Verifications includes requirements that the device is enterprise-managed, conformant to domain policies, and the caller has permission to call the API targeted by the request.