public sealed class OsConstraint : IMessage<OsConstraint>, IEquatable<OsConstraint>, IDeepCloneable<OsConstraint>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity Access Context Manager v1 API class OsConstraint.
A restriction on the OS type and version of devices making requests.
Implements
IMessageOsConstraint, IEquatableOsConstraint, IDeepCloneableOsConstraint, IBufferMessage, IMessageNamespace
Google.Identity.AccessContextManager.V1Assembly
Google.Identity.AccessContextManager.V1.dll
Constructors
OsConstraint()
public OsConstraint()
OsConstraint(OsConstraint)
public OsConstraint(OsConstraint other)
Parameter | |
---|---|
Name | Description |
other | OsConstraint |
Properties
MinimumVersion
public string MinimumVersion { get; set; }
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"
.
Property Value | |
---|---|
Type | Description |
string |
OsType
public OsType OsType { get; set; }
Required. The allowed OS type.
Property Value | |
---|---|
Type | Description |
OsType |
RequireVerifiedChromeOs
public bool RequireVerifiedChromeOs { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |