Class OsConstraint (1.5.0)

public sealed class OsConstraint : IMessage<OsConstraint>, IEquatable<OsConstraint>, IDeepCloneable<OsConstraint>, IBufferMessage, IMessage

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

Inheritance

Object > OsConstraint

Namespace

Google.Identity.AccessContextManager.V1

Assembly

Google.Identity.AccessContextManager.V1.dll

Constructors

OsConstraint()

public OsConstraint()

OsConstraint(OsConstraint)

public OsConstraint(OsConstraint other)
Parameter
NameDescription
otherOsConstraint

Properties

MinimumVersion

public string MinimumVersion { get; set; }

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

Property Value
TypeDescription
String

OsType

public OsType OsType { get; set; }

Required. The allowed OS type.

Property Value
TypeDescription
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
TypeDescription
Boolean