Identity Access Context Manager v1 API - Class OsConstraint (2.3.0)

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.

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: "major.minor.patch". Examples: "10.5.301", "9.2.1".

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
bool