Interface OsConstraintOrBuilder (1.21.0)

public interface OsConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMinimumVersion()

public abstract String getMinimumVersion()

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".

string minimum_version = 2;

Returns
TypeDescription
String

The minimumVersion.

getMinimumVersionBytes()

public abstract ByteString getMinimumVersionBytes()

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".

string minimum_version = 2;

Returns
TypeDescription
ByteString

The bytes for minimumVersion.

getOsType()

public abstract OsType getOsType()

Required. The allowed OS type.

.google.identity.accesscontextmanager.type.OsType os_type = 1;

Returns
TypeDescription
OsType

The osType.

getOsTypeValue()

public abstract int getOsTypeValue()

Required. The allowed OS type.

.google.identity.accesscontextmanager.type.OsType os_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for osType.

getRequireVerifiedChromeOs()

public abstract boolean getRequireVerifiedChromeOs()

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.

bool require_verified_chrome_os = 3;

Returns
TypeDescription
boolean

The requireVerifiedChromeOs.