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".
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eOsConstraint\u003c/code\u003e class is 2.5.0, with 2.4.0 being the version detailed on the current page and other versions going as far back as 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOsConstraint\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Identity.AccessContextManager.V1\u003c/code\u003e namespace, allows for the specification of OS type and version restrictions for devices making requests.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eOsConstraint\u003c/code\u003e class include \u003ccode\u003eMinimumVersion\u003c/code\u003e, \u003ccode\u003eOsType\u003c/code\u003e, and \u003ccode\u003eRequireVerifiedChromeOs\u003c/code\u003e, which provide control over allowed OS versions, types, and Chrome OS verification requirements respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, \u003ccode\u003eOsConstraint()\u003c/code\u003e and \u003ccode\u003eOsConstraint(OsConstraint other)\u003c/code\u003e, to allow object creation, and it is part of the \u003ccode\u003eGoogle.Identity.AccessContextManager.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]